Inherited from : TPrintDialog
Unit: ApPrintDlg
Custom version: TApCustomPrintDialog.
Much more powerful replacement for TOpen/SaveDialog components shipped with Delphi/C++Builder.
SelectedDevice : string R
Public, Protected in custom version
Return the printer name you selected in this dialog. Can be access when the dialog is active (in event handlers for example).
Published, Protected in custom version
This variable contains all information about panels of the standard dialog. See TApCustDlgPatams type for details.
For print dialogs CustDlgParams.CustomForm member is not used.
DlgItemsCaptions : TApPrintDlgCaptions
Published; protected in custom version
You can set items in this property to replace labels for standard controls inside dialog. For example you can replace OK button caption using DlgItemsCaptions.OK property and so on. If there is no value in any subitem then original text is displayed.
Title : string
Published; protected in custom version
The title of the dialog
All the new properties below are "dialog-time".
For all handlers: Published; Protected in custom version.
Occurs when user tries to change printer. You can set AllowProceed to false to prevent this message's processing.
Occurs when user has changed printer. Use SelectedDevice property to get selected printer's name.
Occurs when user tries to change printer name. Set AllowProceed to false to prevent printer setup dialog's showing.
Occures after uses closes printer setup dialog box.
Occures when user has changed the number of copies to print.
General hook procedure. You can hook any message you want directry in this handler. This handler occurs after dialog procedure has processed current message.
OnEventHooking : TApMsgQueryEvent
You can determine here whether dialog box procedure should process current message (m parameter). Set AllowDispatch to false to prevent this message's processing by dialog box procedure.