Sign in Join
FPDoc Onlineexperiment

TButtonControl.OnChange property

Member of TButtonControlprotectedIn unit StdCtrls

Event handler signalled when the button control is clicked.

Declaration

pascal
property OnChange: TNotifyEvent read FOnChange write FOnChange;

Description

OnChange is signalled from the DoOnChange method, and occurs when the Click method is called for the class instance. It is signalled after the OnEditingDone event handler. The Sender argument contains the current button control class instance (Self).

The OnClick event handler can also be used for the notification when ClicksDisabled is set to False.

See also

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