[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

  

Draw the button when the mouse cursor is hovered over the control.

);

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

TButtonGlyph.Draw

  

Draws the glyph for the button using the specified settings and state.


Version 3.2 Generated 2024-02-25 Home