Vcl.StdCtrls.TButton.ImageIndex
Delphi
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex stored IsImageIndexStored default -1;
C++
__property ImageIndex = {default=-1};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TButton |
Description
Image index for the normal button state. {{#multireplace:Vcl.StdCtrls.TButton.ImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdCtrls.TCustomButton.ImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdCtrls.TCustomButton.ImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.