[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled when the active page (or tab) for the control is changed.
Source position: comctrls.pp line 469
protected property TCustomTabControl.OnChange : TNotifyEvent |
OnChange is a TNotifyEvent property with the event handler signalled when the active page (or tab) for the control is changed. OnChange is enabled when the value nboDoChangeOnSetIndex has been included in the Options for the control.
Setting a new value in either PageIndex or TabIndex signals the assigned and enabled event handler. It is also called from the Change method when selection change messages are handled for the control, and when a tab is re-ordered using the MoveTab method.
|
Performs actions to show or hide pages when the current page is changed. |
|
|
The set of Options for the Notebook: Show close buttons on the tabs, multi-line tabs. |
|
|
PageIndex - Index number of the current page. |
|
|
Contains the ordinal position for the active Tab in the control. |
|
|
TCTabControlOption - Show the close button on a tab, allow multi-line tabs. |
lazarus-ccr.sourceforge.net |