[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TButtonControl.Click

Performs actions needed when a click message is handled for the control.

Declaration

Source position: stdctrls.pp line 1189

protected procedure TButtonControl.Click; override;

Description

Click is an overridden method in TButtonControl. Click calls the DoOnChange method to signal the OnEditingDone and OnChange event handlers (when assigned). Click calls the inherited method prior to exit.

Click is used when messages are handled in the control and csClickEvents is not used in the ControlStyle property.

See also

TControl.Click

  

Signals OnClick and/or executes the ActionLink when the control has been clicked.