Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.PressedImageIndex property

Member of TCustomSpeedButtonpublicIn unit Buttons

Ordinal position for the glyph bitmap displayed when the button is in a pressed (down) state.

Declaration

pascal
property PressedImageIndex: TImageIndex index bsDown read GetImageIndex write SetImageIndex default - 1;

Description

PressedImageIndex is a TImageIndex property with the ordinal position for the glyph bitmap displayed when the Down property is True. The default value for the property is -1, and indicates that an explicit value has not been assigned for the property.

The property value is read from and written to the image index members in ButtonGlyph.

The Lazarus IDE provides a property editor that allows selection of one of the Images from a drop-down image list. The position for the selected image is stored as the property value in the Object Inspector.

Added in LCL version 2.3.0. Available since version 3.0.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.