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

TdxMessageDialogForm.DialogType Property

Returns the message dialog box type.

Declaration

property DialogType: TMsgDlgType read;

Property Value

Type Description
TMsgDlgType

The type of the message dialog box.

Remarks

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

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