Sign in Join
FPDoc Onlineexperiment

TCustomTabControl.OnChange property

Member of TCustomTabControlprotectedIn unit ComCtrls

Event handler signalled when the active page (or tab) for the control is changed.

Declaration

pascal
property OnChange: TNotifyEvent read FOnPageChanged write FOnPageChanged;

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.