RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTabbedNotebook.PageIndex Property

Determines which page displays in the tabbed notebook component.

Pascal
property PageIndex: Integer;
C++
__property int PageIndex;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!