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

TCustomBitBtn.PressedImageIndex

Ordinal position for the bitmap displayed when the button control is pressed (down).

Declaration

Source position: buttons.pp line 228

public property TCustomBitBtn.PressedImageIndex : TImageIndex
  index bsDown
  read GetImageIndex
  write SetImageIndex
  default - 1;

Description

PressedImageIndex is a TImageIndex property with the ordinal position for the bitmap displayed on the button when it is pressed (down). It refers to the position in the Images property where the associated image data is stored. The default value for the property is -1, and indicates that an explicit value has not been assigned to the property.

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.

Version info

Added in LCL version 2.3.0. Available since version 3.0.

See also

TCustomBitBtn.Images

  

Contains the list of images available for use as the glyph on a custom button control.

TCustomBitBtn.ImageIndex

  

Ordinal position for the default bitmap displayed when the button control is up (not pressed).


Version 3.2 Generated 2024-02-25 Home