Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
In PrintDialog Form, How to coding it for printing? (Using FastReport) Posted by PlayStation on 3 Feb 2005 at 12:51 AM
I use FastReport for creating my report.

When I run my program, it will show the PrintDialog Form.

I want to know how to print my report by clicking OK button in PrintDialog From.

How to coding it for printing ?
Report
Re: In PrintDialog Form, How to coding it for printing? (Using FastRep Posted by zibadian on 3 Feb 2005 at 7:21 AM
: I use FastReport for creating my report.
:
: When I run my program, it will show the PrintDialog Form.
:
: I want to know how to print my report by clicking OK button in PrintDialog From.
:
: How to coding it for printing ?
:
The TPrintDialog doesn't do any printing, it just provides the user with the common print dialog box to enter the data. In most cases the PrintDialog.Execute is used as the condition for an if-then statement:
  if PrintDialog1.Execute then
    QuickReport.Print;

Report
Re: In PrintDialog Form, How to coding it for printing? (Using FastRep Posted by PlayStation on 3 Feb 2005 at 6:23 PM
Thank you.

But I use FastReport, what the command to print it.

This is my command

frxReport1.Print;

But nothing happen.

What the command to print ?




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.