[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions to show or hide pages when the current page is changed.
Source position: comctrls.pp line 444
protected procedure TCustomTabControl.Change; virtual; |
Change is a method used to performs actions needed to show or hide pages in the tabbed control.
Change causes the TCustomPage instance in Page stored at the position in PageIndex to become visible, and hides the previously visible page on the tabbed control. If a control was focused on the previous page, the new page is focused prior to hiding the previous page.
At run-time, MaybeSelectFirstControlOnPage is called when a page instance is active for the control; it selects the focused control for the ActivePage. DoChange is called to signal the OnChange event handler (when assigned).
Change is called from the MoveTab method, and when selection change messages are handled for the control.
Modified in LCL version 3.4 to call MaybeSelectFirstControlOnPage before OnChange is signalled for the active page.
|
Caption for the active page in the tabbed control. |
|
|
Provides indexed access to the page objects used on the tabbed control. |
|
|
Ordinal position for the selected page on the tabbed control. |
|
|
Contains the ordinal position for the active Tab in the control. |
|
|
Updates the ActiveControl on the parent form when the specified page becomes active. |
|
|
Performs actions needed when the active page for the control has been changed. |
|
|
Event handler signalled when the active page (or tab) for the control is changed. |