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

TButtonGlyph.ExternalSelectedImageIndex

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

Declaration

Source position: buttons.pp line 146

public property TButtonGlyph.ExternalSelectedImageIndex : Integer
  index bsExclusive
  read GetExternalImageIndex
  write SetExternalImageIndex;

Description

ExternalSelectedImageIndex 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

Added in LCL version 2.3.0. Available since version 3.0.

See also

TButtonGlyph.ExternalImages

  

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

TButtonGlyph.ExternalImageIndex

  

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

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).


Version 4.0 Generated 2025-05-03 Home