RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTabbedNotebook.GetIndexForPage Method

Returns the PageIndex value of the specified page.

Pascal
function GetIndexForPage(const PageName: string): Integer;
C++
__fastcall int GetIndexForPage(const AnsiString PageName);

The PageIndex property value is determined by the page's position in the Pages property array. Specify the name of the page as the value of the PageName parameter. The name you specify must be one of the strings in the Pages property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!