TdxMessageDialogForm Class
The form class that implements a message dialog box with support for DevExpress look & feel settings.
Declaration
TdxMessageDialogForm = class(
TdxForm
)
Remarks
The TdxMessageDialogForm
class extends standard message box functionality with support for the following features:
- Skins and other look & feel settings common to all DevExpress controls to keep application appearance consistent for all UI elements and dialogs
- BBCode-inspired markup tags
- Support for high-DPI environments and per-monitor DPI awareness
- Localization and right-to-left languages
Main API Members
The list below outlines key members of the TdxMessageDialogForm
class that allow you to define message text, move a message box on the screen, and change available buttons.
- Create
- Creates a message dialog box.
- SetPosition
- Positions the message box on the screen.
- DialogType
- Returns the message dialog box type.
- FindButton
- Provides access to a dialog button by its type.
- ButtonCount
- Returns the button count.
- SetDefaultButton
- Changes the default dialog button.
- Buttons
- Provides access to dialog buttons by their indexes.
- AlignButtons
- Calculates optimal dimensions and positions for customized buttons.
- Style
- Specifies the active message box layout style.
- Message
- Specifies a message with support for BBCode-inspired markup tags.
- ShowModal
- Invokes the message box as a modal dialog.
Message Box Form Customization
If you need to adjust or customize the message dialog box layout, derive a custom form from the TdxMessageDialogForm
class. Assign a reference to the created form class to the dxMessageDialogFormClass global variable to replace the built-in DevExpress message dialog box.
Inheritance
See Also