Skip to main content
A newer version of this page is available. .

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:

Message Dialog Box Example

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.

See Also