Vcl.ComCtrls.TCustomTabControl.TabRect
Delphi
function TabRect(Index: Integer): TRect;
C++
System::Types::TRect __fastcall TabRect(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTabControl |
Description
Returns the bounding rectangle for a specified tab.
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.