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

TButtonState

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

Declaration

Source position: buttons.pp line 50

type TButtonState = (

  bsUp,

  

Draw the button in its up state.

  bsDisabled,

  

Draw the button in its disabled state.

  bsDown,

  

Draw the button in its down state.

  bsExclusive,

  

Draw the button as the only one down in its group.

  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 State property in TCustomSpeedButton.