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};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomButton |
説明
通常のボタンの状態に対する画像のインデックスです。
ImageIndex は、通常のボタンの状態に対する Images プロパティへの画像インデックスです。 インデックス値が -1 の場合、画像は使用されません。
Vista またはそれ以降の Windows オペレーティング システムでは、インデックスが -1 で Style プロパティがコマンド リンク ボタンを示す bsCommandLink である場合は、標準の緑色の矢印が使用されます。
Windows XP、Vista、Windows 7、またはそれ以降の Windows オペレーティング システムでのみ利用可能です