[Lazarus] How to use TPrintDialog

Maxim Ganetsky ganmax at narod.ru
Thu Jan 13 02:15:50 CET 2011


12.01.2011 18:09, tim launchbury пишет:
> Hello all
>
> I am trying to implement printing in my app and want to use the
> printdialog included with lazarus. I have dropped the print dialog on
> the form and set it to appear when a button is clicked.
>
> When the printdialog.execute function is executed an exception is
> generated. The exception is
> "Project raised exception class 'EReadError' with message:
> Unknown property :"Caption""
>
> This is followed by
>
> "Project raised exception class 'EReadError' with message:
> Error reading pgCopies.Caption: Unknown property :"Caption""
>
> I have tried all the suggestions I could found on the wiki and the
> delphi site.

Please create a bug report with complete description and small 
compilable test project attached.

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru




More information about the Lazarus mailing list