Vcl.Buttons.TButtonState
Delphi
TButtonState = (bsUp, bsDisabled, bsDown, bsExclusive);
C++
enum DECLSPEC_DENUM TButtonState : unsigned char { bsUp, bsDisabled, bsDown, bsExclusive };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Buttons.pas Vcl.Buttons.hpp |
Vcl.Buttons | Vcl.Buttons |
Description
TButtonState describes the current state of a button.
Use TButtonState as an indicator of the state of the button control. The possible values are as follows:
Value | State Description |
---|---|
bsUp |
The button control is up, or unselected. |
bsDisabled |
The button is not enabled, which generally means it is dimmed. It cannot be selected by the user. |
bsDown |
The button control is down, or selected. |
bsExclusive |
The button is a "radio button." It is one of a group of buttons, exactly one of which must be selected at any given time. Selecting another button will cause the previously selected button to become deselected. |