RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPrintDlg.Dialog Property

Provides access the print dialog that the action executes.

Pascal
property Dialog: TPrintDialog;
C++
__property TPrintDialog Dialog;

When using a print dialog action, you do not place a TPrintDialog component on the form or data module at design time. Instead, you add the TPrintDlg action to your action list. If you want to configure the dialog, for example to set the Options that are available to users, you can access the dialog component using the Dialog property. From an OnAccept event handler, use Dialog to read the choices that the user made in the print dialog and then perform the printing based on those choices. 

The print dialog component is created by the TPrintDlg constructor. 

 

Create_d 

Create_c 

Create 

Options 

onaccept

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!