TdxMessageDialogForm Class
The form class that implements the message dialog box with support for DevExpress look & feel settings.
Declaration
TdxMessageDialogForm = class(
TdxForm
)
Remarks
This form class extends the functionality of the standard message box with support for the following:
- Skins and other look & feel settings common to all DevExpress controls to keep the application appearance consistent for all UI elements and dialogs.
- BBCode-inspired markup tags to format the message.
- High DPI and per-monitor DPI awareness.
- Localization and right-to-left languages.
Class Members
The TdxMessageDialogForm
class has the following members that allow you to do the following:
- Create a message dialog box (Create).
- Position the message box on the screen (SetPosition).
- Identify the message dialog type (DialogType).
- Access a dialog button by its type (FindButton).
- Obtain the button count (ButtonCount).
- Set a dialog button as default (SetDefaultButton).
- Access buttons by their indexes (Buttons).
- Calculate optimal dimensions and positions for customized buttons (AlignButtons).
- Switch between message box layout styles (Style).
- Specify a message with support for BBCode-inspired markup tags (Message).
- Invoke the message box as a modal dialog (ShowModal).
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 dxMessageDialogFormClass global variable to replace the standard DevExpress message dialog box.
Inheritance
See Also