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

TCustomBitBtn.ImageIndex

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

Declaration

Source position: buttons.pp line 223

public property TCustomBitBtn.ImageIndex : TImageIndex
  index bsUp
  read GetImageIndex
  write SetImageIndex
  default - 1;

Description

ImageIndex is a TImageIndex property with the ordinal position for the bitmap displayed on the button when it is in its default state (up). 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.

Version info

Added in LCL version 2.3.0. Available since version 3.0.


Version 4.0 Generated 2025-05-03 Home