API:FMX.StdCtrls.TButton.ImageIndex
Delphi
property ImageIndex: TImageIndex read GetImageIndex write SetImageIndex stored ImageIndexStored;
C++
__property ImageIndex;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.StdCtrls.pas FMX.StdCtrls.hpp |
FMX.StdCtrls | TButton |
Description
Defines the zero-based index enumerating images in the Images list of images.
FMX.StdCtrls.TButton.ImageIndex inherits from FMX.StdCtrls.TCustomButton.ImageIndex. All content below this line refers to FMX.StdCtrls.TCustomButton.ImageIndex.
Defines the zero-based index enumerating images in the Images list of images.
If you use a non-existing ImageIndex value to access an image in the Images list, then no image is retrieved and no exception is raised. The usual default value is -1
. Call ImagesChanged when ImageIndex is changed.