Back to Devexpress

TdxPrintDialog.OnPageSetup Event

vcl-dxprndlg-dot-tdxprintdialog-10264e61.md

latest1.1 KB
Original Source

TdxPrintDialog.OnPageSetup Event

Occurs when clicking the “ PageSetup… “ button.

Declaration

delphi
property OnPageSetup: TdxPageSetupEvent read; write;

Remarks

Write an OnPageSetUp event handler to perform specific actions when clicking the “ PageSetup… “ button. You may use the OnPageSetUp event handler to display your own Page Setup dialog window, which is customized via the TdxPageSetupDialog component.

The ADone parameter is set to True if the PageSetup form was closed by pressing the ‘OK’ button.

The APreviewBtnClicked and APrintBtnClicked parameters determine whether the Preview button and/or Print button were clicked.

Note

PBoolean is declared in dxPSGlbl and this unit name must be manually added to the form’s “uses” clause.

See Also

TdxPrintDialog.OnClose

TdxPrintDialog.OnShow

TdxPrintDialog Class

TdxPrintDialog Members

dxPrnDlg Unit