Recent

Author Topic: PrintDialog1.Execute problem  (Read 8552 times)

madade

  • New member
  • *
  • Posts: 7
PrintDialog1.Execute problem
« on: January 18, 2011, 08:49:43 am »
please help me,

when i try  to execute a program with PrintDialog1.Execute i have this error:
Project1 raised exception class 'EReadError' with message: Unknown property "Caption"

i have try with 0.9.28 and with last snapshot, i hare to recompile all end more but i have alwais this problem

can i resolve it?

thanks to all

madade

  • New member
  • *
  • Posts: 7
Re: PrintDialog1.Execute problem
« Reply #1 on: January 18, 2011, 10:17:58 am »
no one can give me some help? :'( it is a very big problem for me!

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: PrintDialog1.Execute problem
« Reply #2 on: January 18, 2011, 04:34:39 pm »
no one can give me some help? :'( it is a very big problem for me!

I would suggest that you post a very small example project that illustrates the problem you're having. I don't think you've provided enough information for anyone to help you.

Thanks.

-Phil

madade

  • New member
  • *
  • Posts: 7
Re: PrintDialog1.Execute problem
« Reply #3 on: January 18, 2011, 06:09:13 pm »
thanks for you reply!
my problem is on a new project i add a Printdialog on a form and a button.
On a Bottonclick i add : if PrintDialog.execute then begin end.

i use now lazarus 0.9.31 and fpc 2.4.2 on a slackware Linux 13.
when i click i have the problem.
on a Delphi this simple application is OK

have you any idea??

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: PrintDialog1.Execute problem
« Reply #4 on: January 18, 2011, 06:26:39 pm »
I can confirm this on Linux GTK2.
Probably a new bug.
Please report at:
http://bugs.freepascal.org/

madade

  • New member
  • *
  • Posts: 7
Re: PrintDialog1.Execute problem
« Reply #5 on: January 18, 2011, 06:54:46 pm »
now i try with Lazarus 0.9.31 and FPC 2.5.1.

all comled ok but same problem


 

TinyPortal © 2005-2018