RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTabControl.GetImageIndex Method

Generates an OnGetImageIndex event

Pascal
function GetImageIndex(TabIndex: Integer): Integer; virtual;
C++
virtual __fastcall int GetImageIndex(int TabIndex);

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. 

Integer is the index of the image in the Images property that will be displayed in the tab. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!