Skip to main content

TdxPrintDlgData Record

Contains printer dialog appearance and behavior options.

Declaration

TdxPrintDlgData = record

Remarks

Options include:

Field

Description

DialogData

Provides access to the values of a printer dialog’s entry fields and data required for their validation.

Title

Specifies a printer dialog’s window caption.

HelpContext

Specifies the ID of the context-sensitive help topic associated with a printer dialog.

ButtonsEnabled

Specifies which buttons are enabled in a printer dialog.

ButtonsVisible

Specifies which buttons are visible in a printer dialog.

OptionsEnabled

Specifies which options are enabled in a printer dialog.

OptionsVisible

Specifies which options are visible in a printer dialog.

Events

Enables you to assign handlers for the following events:

  • OnShow – Occurs before a print dialog is shown.

  • OnClose – Occurs before a print dialog is closed.

  • OnPageSetup – Occurs after the “Page Setup” button has been clicked in a print dialog.

IsCheckUserInput

Specifies whether the following verifications are made before a report is printed:

  • A file name is correct and the file can be created or accessed.

  • The page range specified in the “Pages” field fits the report’s page range specified by the DialogData.MinRange and DialogData.MaxRange values.

PreviewBtnClicked

Indicates whether the Preview button was clicked within a printer dialog.

See Also