[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Locates and activates the next page in the specified direction.
Source position: comctrls.pp line 597
public procedure TPageControl.SelectNextPage( |
GoForward: Boolean |
); |
GoForward: Boolean; |
CheckTabVisible: Boolean |
); |
GoForward |
|
True to search for a subsequent tab sheet. False to search for a prior tab sheet. |
GoForward |
|
True to search for a subsequent tab sheet. False to search for a prior tab sheet. |
CheckTabVisible |
|
True if the tab sheets must have their TabVisible property set. False to check all tab sheets. |
SelectNextPage is an overloaded method used to locate and activate the next page (or tab sheet) in the specified direction.
GoForward indicates the search direction for the next page. When set to False, the pages prior to ActivePage are examined. When set to True, the pages after active page are used.
An overloaded variant provides the CheckTabVisible argument, which forces use of tab sheets with their TabVisible property set to True.
SelectNextPage calls the FindNextPage method to locate the next tab sheet in the specified direction. If a tab sheet is found, it is assigned to the ActivePage property for the control.
|
Gets the next tab sheet in the specified direction. |
|
|
Provides indexed access to the pages (tab sheets) on the page control. |
|
|
The currently selected and active page (TTabSheet) on the page control. |
Version 3.2 | Generated 2024-02-25 | Home |