* * *

Author Topic: print dialog error  (Read 3584 times)

davesimplewear

  • Sr. Member
  • ****
  • Posts: 302
    • Davids Freeware
print dialog error
« on: March 17, 2011, 07:49:37 am »
I put a print dialog on a form and a button onclick procedure, if PrintDialog.Execute then begin ... end; it gives an error: Error reading pgCopies.Caption: Unknown property: "Caption". any one able to help?

Regards
Dave
All things considered insanity seems the best option

davesimplewear

  • Sr. Member
  • ****
  • Posts: 302
    • Davids Freeware
Re: print dialog error
« Reply #1 on: March 18, 2011, 11:30:31 pm »
It appears to be a bug with TPage as both pgCopies and pgGeneral are declared as TPage in the printer dialogs, has anyone else had this problem? should I declare this as a bug?

Regards
Dave
All things considered insanity seems the best option

clauslack

  • Sr. Member
  • ****
  • Posts: 271
Re: print dialog error
« Reply #2 on: March 19, 2011, 04:02:26 pm »
In what O.S.? Linux ?

davesimplewear

  • Sr. Member
  • ****
  • Posts: 302
    • Davids Freeware
Re: print dialog error
« Reply #3 on: March 19, 2011, 10:06:40 pm »
yep, Linux Mint 10, lazarus 0.9.31 FPC 2.5.1
All things considered insanity seems the best option

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads