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

TCustomSpeedButton.ImageIndex

Ordinal position for the glyph bitmap displayed when the button is in its up state.

Declaration

Source position: buttons.pp line 423

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

Description

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

Version info

Added in LCL version 2.3.0. Available since version 3.0.

See also

TCustomSpeedButton.Images

  

List of images available for use as state glyphs on the control.

TCustomSpeedButton.Glyph

  

The bitmap with the glyph image(s) displayed for button states.

TCustomSpeedButton.ButtonGlyph

  

Gets the TButtonGlyph used for the control.

TCustomSpeedButton.DrawGlyph

  

Draws the glyph image on the canvas at a given offset in the specified client rectangle.

TCustomSpeedButton.DisabledImageIndex

  

Ordinal position for the image displayed when the control is disabled.

TCustomSpeedButton.HotImageIndex

  

Ordinal position for the glyph bitmap displayed when the mouse is hovered over the button control.

TCustomSpeedButton.PressedImageIndex

  

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

TCustomSpeedButton.SelectedImageIndex

  

Ordinal position for the glyph bitmap displayed when the button is selected.


Version 3.2 Generated 2024-02-25 Home