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