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

TButtonImage

Represents button identifiers defined in the lcltype.pp unit.

Declaration

Source position: buttons.pp line 59

type TButtonImage = idButtonOk..idButtonNoToAll;

Description

TButtonImage is a range type used to represent the button identifier constants defined in the lcltype.pp unit, like: idButtonOk, idButtonCancel, idButtonHelp, idButtonYes, idButtonNo, et. al. TButtonImage is the type passed as an argument to routines like: GetButtonImageIndex, BitBtnResNames, and LoadGlyphFromResource. It is also passed as an argument to the TCustomBitBtn.LoadGlyphFromResource method.

See also

TCustomBitBtn.LoadGlyphFromResource

  

Loads the glyph image for the specified button identifier from the internal LCL resource.

GetButtonImageIndex

  

Gets the ordinal position in the LCL Glyph image list for the specified button identifier.

BitBtnResNames

  

Contains resource names for corresponding button identifiers in TBitBtn.

LoadGlyphFromResource

  

Loads the image for the specified button glyph from the LCL glyph resource.


Version 4.0 Generated 2025-05-03 Home