Skip to main content

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. 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