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. | |
mtError | Notifies users of an occurred error. | |
mtInformation | Displays additional information. | |
mtConfirmation | Prompts a user to confirm or cancel an action. | |
mtCustom | A custom message box. | No icon. |
See Also