[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TMsgDlgType

Identifies the type or style for a message dialog.

Declaration

Source position: dialogs.pp line 36

type TMsgDlgType = System.UITypes.TMsgDlgType;

Description

TMsgDlgType is an alias to the TMsgDlgType enumerated type in the RTL system.uitypes.pp unit. TMsgDlgType defines a 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.

Values from the enumeration can be represented using the descriptive modal dialog type constants, such as: mtWarning, mtError, mtInformation, mtConfirmation, and mtCustom.

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

See also

mtWarning

  

Alias to the TMsgDlgType enumeration value in system.uitypes.pp.

mtError

  

Alias to the TMsgDlgType enumeration value in system.uitypes.pp.

mtInformation

  

Alias to the TMsgDlgType enumeration value in system.uitypes.pp.

mtConfirmation

  

Alias to the TMsgDlgType enumeration value in system.uitypes.pp.

mtCustom

  

Alias to the TMsgDlgType enumeration value in system.uitypes.pp.

MessageDlg

  

Shows a message to the user and gets the response.

MessageDlgPos

  

An extended MessageDlg function.

MessageDlgPosHelp

  

An extended MessageDlgPos function.

CreateMessageDialog

  

Creates a dialog form type with the specified caption, message, and buttons.

QuestionDlg

  

Shows a question to the user and gets a response. Similar to MessageDlg, but allows to use custom button captions and user-specified response values.

LazMessageDlg


Version 4.0 Generated 2025-05-03 Home