RAD Studio VCL Reference
|
Determines which page displays in the notebook control.
property PageIndex: Integer;
__property int PageIndex;
The value of PageIndex determines which page displays in the notebook. 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.
To get or set the current page using its string rather than its index, use the ActivePage property instead.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|