Sign in Join
FPDoc Onlineexperiment

TButtonState enumeration

In unit Buttons

A set of constants to define the state of a SpeedButton.

Declaration

pascal
TButtonState = (bsUp,bsDisabled,bsDown,bsExclusive,bsHot)

Description

TButtonState is an enumerated type with constants that define the drawing state for a button. TButtonState is the type used to implement the internal State member in TCustomSpeedButton. It is also used to access bitmap images in TButtonGlyph drawn for the corresponding state using its Draw method.

See also

Values

bsUpDraw the button in its up state.
bsDisabledDraw the button in its disabled state.
bsDownDraw the button in its down state.
bsExclusiveDraw the button as the only one down in its group.
bsHotDraw the button when the mouse cursor is hovered over the control.

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