Sign in Join
FPDoc Onlineexperiment

TForm.OnClick property

Member of TFormpublishedIn unit Forms

Notification handler for mouse clicks.

Declaration

pascal
property OnClick:;

Description

A mouse click is associated with the default action for a control, and is often the only event handled in user code.

The action performed for a click can be specified by a user supplied method, or by selecting an Action from a supplied ActionList.

OnClick is signalled (when assigned) from the Click method. It occurs when an Action has not been assigned using the ActionLink for the control. When Action is assigned, the Execute method in the ActionLink is called.

This description is the one of Controls.TControl.OnClick.

See also

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