TApPrintDialog

Inherited from : TPrintDialog

Custom versions available as: TApCustomPrintDialog.

Types

Properties

Methods

Events



Types



Properties


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).


CustDlgParams : TApCustDlgParams

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.



Methods



Events


All the new properties below are "dialog-time".

For all handlers: Published; Protected in custom version.

OnDropDownPrinterList : TNotifyEvent;

Occures when user drops down printer combo box.

OnCloseUpPrinterList : TNotifyEvent;

Occures when user closes up printer combo box.

OnChangePrinter : TNotifyEvent;

Occures when user changes printer.

OnShowPrinterSetup : TNotifyEvent;

Occures after uses closes printer setup dialog box.

OnChangeNumOfCopies : TNotifyEvent;

Occures when user changes the munver of copies.

OnHookEvent : TWndMethod;

General hook procedure. You can hook any message you want directry in this handler. See Win32 Reference (PrintDlg function) for information about  PRINTDLG.PrintHookProc pointer to a hook procedure.