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

TButtonGlyph.ExternalImageIndex

Ordinal position for the bitmap in ExternalImages displayed when the button is Up (not pressed).

Declaration

Source position: buttons.pp line 142

public property TButtonGlyph.ExternalImageIndex : Integer
  index bsUp
  read GetExternalImageIndex
  write SetExternalImageIndex;

Description

ExternalImageIndex is a Integer property with the ordinal position for the bitmap drawn on the control when the button is in the Up (not pressed) state. ExternalImageIndex is an indexed property which accesses the value stored in an internal array of image indexes for each of the button states. The property value contains the ordinal position in ExternalImages with the bitmap used for the button state. -1 indicates that an explicit value has not been assigned for the property.

Version info

Modified in LCL version 2.3.0 to use an internal array of button states for the property value.

See also

TButtonGlyph.ExternalImages

  

Contains a reference to an external list of images that can be used as the Glyph image,

TButtonGlyph.ExternalHotImageIndex

  

Ordinal position in ExternalImages for the image displayed when the button is Hot (hovered).

TButtonGlyph.ExternalDisabledImageIndex

  

Ordinal position in ExternalImages for the image displayed when the button is Disabled.

TButtonGlyph.ExternalPressedImageIndex

  

Ordinal position in ExternalImages for the image displayed when the button is Pressed (down).

TButtonGlyph.ExternalSelectedImageIndex

  

Ordinal position in ExternalImages for the image displayed when the button is Selected (has focus).


Version 4.0 Generated 2025-05-03 Home