Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPrintDlgData Record

In This Article

Contains printer dialog appearance and behavior options.

#Declaration

Delphi
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