Vcl.StdCtrls.TButton.ImageIndex

From RAD Studio API Documentation
Jump to: navigation, search

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.

Vcl.StdCtrls.TButton.ImageIndex inherits from Vcl.StdCtrls.TCustomButton.ImageIndex. All content below this line refers to Vcl.StdCtrls.TCustomButton.ImageIndex.

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.

See Also