Vcl.TabNotBk.TTabbedNotebook.PageIndex
Delphi
property PageIndex: Integer read FPageIndex write SetPageIndex default 0;
C++
__property int PageIndex = {read=FPageIndex, write=SetPageIndex, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.TabNotBk.pas Vcl.TabNotBk.hpp |
Vcl.TabNotBk | TTabbedNotebook |
Description
Determines which page displays in the tabbed notebook component.
Changing the PageIndex value changes the page in the control.
Each string in the Pages property is automatically assigned a PageIndex value when the page is created. The first page receives a value of 0, the second has a value of 1, and so on. If you delete a string from the Pages property, the PageIndex values are reassigned so that the values always begin with 0 and continue to increase without any gaps between values.