RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFilePrintSetup Class

TFilePrintSetup is the standard action for displaying a printer setup dialog.

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

StdActns

Add TFilePrintSetup to an action list to add a common printer setup dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display the printer setup dialog when invoked. Because the printer setup dialog automatically configures the printers as specified when the user clicks OK, there is usually no need to write an OnAccept or OnCancel event handler to continue processing after the dialog shuts down. 

 

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