RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPrintDlg Class

TPrintDlg is the standard action for displaying a print dialog.

Pascal
TPrintDlg = class(TCommonDialogAction);
C++
class TPrintDlg : public TCommonDialogAction;

Add TPrintDlg to an action list to add a print dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display the print dialog (TPrintDialog) when invoked. Write an OnAccept event handler to perform the actual printing when the user clicks OK. You can read details about the user's selections in the dialog from the Dialog property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!