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

# TButtonGlyph.ExternalPressedImageIndex

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

## Declaration

Source position: buttons.pp line 145

`public property TButtonGlyph.ExternalPressedImageIndex : Integer index bsDown read GetExternalImageIndex write SetExternalImageIndex;`

## Description

ExternalPressedImageIndex 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.ExternalSelectedImageIndex |  | Ordinal position in ExternalImages for the image displayed when the button is Selected (has focus).