Vcl.StdCtrls.TCustomButton.ImageIndex
Delphi
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex stored IsImageIndexStored default -1;
C++
__property System::Uitypes::TImageIndex ImageIndex = {read=FImageIndex, write=SetImageIndex, stored=IsImageIndexStored, default=-1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomButton |
Description
Image index for the normal button state.
ImageIndex is an image index into the Images property for the normal button state. If the index value is -1, no image is used.
In Vista or later Windows operating systems, a standard green arrow is used when the index is -1 and the Style property is bsCommandLink for a Command Link button.
This is available only for Windows XP, Vista, Windows 7, or later Windows operating systems.
Note RAD Studio no longer supports Windows Vista or earlier.