[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the real page index for the specified tab.
Source position: comctrls.pp line 481
public function TCustomTabControl.TabToPageIndex( |
AIndex: Integer |
):Integer; |
TabToPageIndex is an Integer function used to get the page index for the tab at the specified position. The tab index value in AIndex does not include any non-visible tabs. TabToPageIndex adjusts the index value to include any TCustomPage instances in Page with its TabVisible property set to False.
The return value contains the value specified in AIndex after adding any non-visible pages proper to the requested position.
No actions are performed in the method at design-time; all pages are visible on the designer surface.