Vcl.Tabs.TTabSet.ItemWidth
Delphi
function ItemWidth(Index: Integer): Integer;
C++
int __fastcall ItemWidth(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Tabs.pas Vcl.Tabs.hpp |
Vcl.Tabs | TTabSet |
Description
Returns the width, in pixels, of a specified tab in the set.
Use ItemWidth to obtain the width, in pixels of a specified tab.
Index is the index of the tab, where 0 indicates the first tab, 1 indicates the second tab, and so on.