RAD Studio VCL Reference
|
Specifies the page currently displayed by the page control.
property ActivePageIndex: Integer;
__property int ActivePageIndex;
Use ActivePageIndex to get or set the active page by index rather than by object. The value of ActivePageIndex identifies a page in the Pages property array. Changing the value of ActivePageIndex changes the ActivePage property, and vice versa.
If there is no active page, reading ActivePageIndex gives a value of -1.
Setting ActivePageIndex to a value that is out of bounds (less than 0 or greater than PageCount - 1) results in the page control having no active page.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|