Sign in Join
FPDoc Onlineexperiment

BitBtnKindToMsgDlgBtn constant

In unit Dialogs

A constant array used to convert the kind of BitButton to the kind of message buttons.

Declaration

pascal
BitBtnKindToMsgDlgBtn: Array[TBitBtnKind] of TMsgDlgBtn = System.UITypes.TMsgDlgBtn = (mbOk, mbOK, mbCancel, mbHelp, mbYes, mbNo, mbClose, mbAbort, mbRetry, mbIgnore, mbAll, mbNoToALl, mbYesToAll)

Description

This array gives you for each BitButton the corresponding type of button on a message dialog. For instance BitBtnKindToMsgDlgBtn[bkOK] has the value of mbOK. It is the reverse if MsgDlgBtnToBitBtnKind.

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