Sign in Join
FPDoc Onlineexperiment

TPageControl.OnChange property

Member of TPageControlpublishedIn unit ComCtrls

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

Declaration

pascal
property OnChange:;

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.

This description is the one of ComCtrls.TCustomTabControl.OnChange.

See also

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