Sign in Join
FPDoc Onlineexperiment

TMsgDlgBtn type

In unit Dialogs

Identifies dialog button types.

Declaration

pascal
TMsgDlgBtn = System.UITypes.TMsgDlgBtn

Description

TMsgDlgBtn is an alias to the TMsgDlgBtn type in system.uitypes.pp. 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 from the enumeration can be represented using the descriptive message button constants, such as: mbYes, mbNo, mbOK, mbCancel, mbAbort, mbRetry, mbIgnore, mbAll, mbNoToAll, mbYesToAll, mbHelp, and mbClose.

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.