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

MsgDlgBtnToBitBtnKind

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

Declaration

Source position: dialogs.pp line 49

const MsgDlgBtnToBitBtnKind: array [TMsgDlgBtn] of TBitBtnKind = (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.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads