: 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