Skip to main content

TdxPrintDialog.OnPageSetup Event

Occurs when clicking the “PageSetup…“ button.

Declaration

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