Vcl.Tabs.TTabSet.FirstIndex
Delphi
property FirstIndex: Integer read FFirstIndex write SetFirstIndex default 0;
C++
__property int FirstIndex = {read=FFirstIndex, write=SetFirstIndex, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Tabs.pas Vcl.Tabs.hpp |
Vcl.Tabs | TTabSet |
Description
Specifies the tab that appears in the leftmost visible position in the tab set control.
Any tabs with a lower value in the FirstIndex property scroll to the left in the tab set control and don't appear until the user scrolls the tabs.
The default value of FirstIndex is 0 indicating that the tab with an index of 0 is in the leftmost position. For example, if you have three tabs labeled First, Second, and Third with TabIndex values of 0, 1, and 2, respectively, First appears first, by default, because it has an index value of 0. If you want to shift the tabs so the Second or Third tab appears leftmost in the tab set control, change the FirstIndex value to 1 or 2.