Sign in Join
FPDoc Onlineexperiment

MsgDlgBtnToBitBtnKind constant

In unit Dialogs

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

Declaration

pascal
MsgDlgBtnToBitBtnKind: Array[TMsgDlgBtn] of TBitBtnKind = (bkCustom,bkOK,bkCancel,bkHelp,bkYes,bkNo,bkClose,bkAbort,
 bkRetry,bkIgnore,bkAll,bkNoToAll,bkYesToAll) = (bkYes, bkNo, bkOK, bkCancel, bkAbort, bkRetry, bkIgnore, bkAll, bkNoToAll, bkYesToAll, bkHelp, bkClose)

Description

This array gives you for each possible button type in a messagebox the corresponding kind of BitButton.

For instance MsgDlgBtnToBitBtnKind[mbYes] has the value of bkYes.

It is the reverse of BitBtnKindToMsgDlgBtn.

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