Vcl.ComCtrls.TCustomTabControl.GetImageIndex
Delphi
function GetImageIndex(TabIndex: Integer): Integer; virtual;
C++
virtual int __fastcall GetImageIndex(int TabIndex);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTabControl |
説明
OnGetImageIndex イベントを生成します。
GetImageIndex メソッドを派生クラスでオーバーライドすると,特定のタブに表示するイメージのインデックスを指定できます。
TabIndex は,表示されようとしているタブのインデックスです。
Integer は,タブに表示されるイメージの Images プロパティのインデックスです。