TdxMessageDialogForm.DialogType Property
Returns the message dialog box type.
Declaration
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. | |
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