Vcl.ComCtrls.TCustomTabControl.GetImageIndex
Delphi
function GetImageIndex(TabIndex: Integer): Integer; virtual;
C++
virtual int __fastcall GetImageIndex(int TabIndex);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTabControl |
Description
Generates an OnGetImageIndex event
Override GetImageIndex in a derived class to specify the index of the image to display for a particular tab.
TabIndex is the index of the tab that is about to be displayed.
The Return Value is an integer that is the index of the image in the Images property that will be displayed in the tab.