Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.DisabledImageIndex property

Member of TCustomSpeedButtonpublicIn unit Buttons

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

Declaration

pascal
property DisabledImageIndex: TImageIndex read GetImageIndex write SetImageIndex default - 1;

Description

DisabledImageIndex is a TImageIndex property with the ordinal position for the bitmap displayed when Enabled is set to False. It indicates the position in Images or Glyph where the image data is stored. 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.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.