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

TCustomSpeedButton.HotImageIndex

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

Declaration

Source position: buttons.pp line 421

public property TCustomSpeedButton.HotImageIndex : TImageIndex
  index bsHot
  read GetImageIndex
  write SetImageIndex
  default - 1;

Description

HotImageIndex is a TImageIndex property with the ordinal position for the bitmap displayed when the mouse cursor is hovered over the control. 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.

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.ImageIndex

  

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

TCustomSpeedButton.DisabledImageIndex

  

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

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