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

TdxMessageDialogForm.DialogType Property

Returns the message dialog box type.

#Declaration

Delphi
property DialogType: TMsgDlgType read;

#Property Value

Type Description
TMsgDlgType

The message dialog box type.

#Remarks

The message box type determines the predefined caption, system icon, and sound of the message box. You can specify the required message box type when you create it. The following message box types are available:

Value Description Predefined Icon
mtWarning Warns users about a potential issue. VCL Editors Library: A Warning Icon Example
mtError Notifies users of an occurred error. VCL Editors Library: An Error Icon Example
mtInformation Displays additional information. VCL Editors Library: An Information Icon Example
mtConfirmation Prompts a user to confirm or cancel an action. VCL Editors Library: A Confirmation Icon Example
mtCustom A custom message box. No icon.
See Also