Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]


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


Source position: controls.pp line 1417

protected procedure TControl.Click; virtual;


Performs actions needed when the control has been clicked using the mouse or its keyboard equivalent.

Click uses the value in ActionLink (when assigned) to determine whether OnClick and / or Action are executed for the control.

When ActionLink has been assigned, it is compared to the routine in the OnClick event handler (when assigned). When the routines differ, the OnCLick event handler is signalled. If an ActionLink exists, the Execute method in ActionLink is called as well.

Neither OnClick nor the ActionLink are executed at design-time.

See also



Notification handler for mouse clicks.



Link to the default Action associated with this control.


CT Web help

CodeTyphon Studio