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

TMsgDlgBtn

Alias to the TMsgDlgBtn type in the FPC RTL.

Declaration

Source position: uitypes.pas line 67

type TMsgDlgBtn = (

  mbYes,

  

Displays a 'Yes' button.

  mbNo,

  

Displays a 'No' button.

  mbOK,

  

Displays an 'OK' button.

  mbCancel,

  

Displays a 'Cancel' button.

  mbAbort,

  

Displays an 'Abort' button.

  mbRetry,

  

Displays a 'Retry' button.

  mbIgnore,

  

Displays an 'Ignore' button.

  mbAll,

  

Displays an 'All' button.

  mbNoToAll,

  

Displays a 'No to All' button.

  mbYesToAll,

  

Displays a 'Yes to All' button.

  mbHelp,

  

Displays a 'Help' button.

  mbClose

  

Displays a 'Close' button.

);

Description

TMsgDlgBtn is an enumeration type with values that define the buttons that can be displayed in a message dialog. TMsgDlgBtn values also determine the modal result returned from the dialog when the corresponding button is clicked.

Values in the enumeration are used in various routines, such as: MessageDlg, MessageDlgPos, MessageDlgPosHelp, CreateMessageDialog, QuestionDlg, and LazMessageDlg.

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

See also

MessageDlg

MessageDlgPos

MessageDlgPosHep

CreateMessageDialog

QuestionDlg

LazMessageDlg


Version 3.2 Generated 2024-02-25 Home