RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTabControl.TabRect Method

Returns the bounding rectangle for a specified tab.

Pascal
function TabRect(Index: Integer): TRect;
C++
__fastcall TRect TabRect(int Index);

Use TabRect to determine the current position of the tab with the specified index. Index is the 0-offset index of a tab in the Tabs property (TTabControl) or in the Pages property (TPageControl). TabRect returns the bounding rectangle (in client coordinates) of the specified tab. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!