[Overview][Constants][Types][Index] Reference for unit 'UITypes' (#lazutils)

TMsgDlgType

Alias to the TMsgDlgType type in the FPC RTL.

Declaration

Source position: uitypes.pas line 66

type TMsgDlgType = (

  mtWarning,

  

Warning message box with an Exclamation mark icon.

  mtError,

  

Error message box with Stop sign icon.

  mtInformation,

  

Information message box with an Info icon.

  mtConfirmation,

  

Confirmation message box with a Question mark icon.

  mtCustom

  

Custom message box; No icon is displayed, and the caption contains the value in ApplicationName.

);

Description

TMsgDlgType is an enumeration type that defines the type of dialog implemented in a message box. Values in the enumeration determine the caption, icon, string literals, and buttons displayed in various dialog types.

TMsgDlgType is used in several routines, such as: MessageDlg, MessageDlgPos,MessageDlgPosHelp, CreateMessageDialog, QuestionDlg, and LazMessageDlg.

Remark: TMsgDlgType has been deprecated in the UITypes unit for Lazarus versions after 2.0.12. Use the TMsgDlgType type from the System.UITypes unit in the FPC 3.2.0 RTL instead.

See also

MessageDlg

MessageDlgPos

CreateMessageDialog

QuestionDlg

LazMessageDlg


Version 3.2 Generated 2024-02-25 Home