vcl-dxmessagedialog.md
The form class that implements a message dialog box with support for DevExpress look & feel settings.
TdxMessageDialogForm = class(
TdxForm
)
All DevExpress controls use the TdxMessageDialogForm class to display message dialog boxes with support for skins and BBCode-inspired markup tags:
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.
The following public API members are derived from the standard TCustomForm class shipped with the VCL library:
CaptionSpecifies the form’s caption.CreateCreates a message dialog box.PixelsPerInchSpecifies the base DPI value for scale factor calculations.ShowModalInvokes the form as a modal dialog.ScaledSpecifies if DPI awareness is enabled for the form.Visible | Hide | ShowHide or display the form.Width | Height | ClientWidth | ClientHeightAllow you to adjust form and client area dimensions.
Tip
Refer to the TCustomForm class description for detailed information on all standard form API members.
AlignButtonsCalculates optimal dimensions and positions for customized buttons.ButtonCountReturns the button count.ButtonsProvides access to dialog buttons by their indexes.DialogTypeReturns the message dialog box type.FindButtonProvides access to a dialog button by its type.MessageSpecifies a message with support for BBCode-inspired markup tags.SetPositionPositions the message box on the screen.StyleSpecifies the active message box layout style.
HyperlinkClickProc | ShowHyperlinkHintProcAllow you to change the predefined behavior of hyperlinks defined in the message dialog box.SetDefaultButtonChanges the default dialog button.
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.
TObject TPersistent TComponent TControl TWinControl TScrollingWinControl TCustomForm TForm TdxForm TdxMessageDialogForm
See Also