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

TControl.OnClick

Notification handler for mouse clicks.

Declaration

Source position: controls.pp line 1663

public property TControl.OnClick : TNotifyEvent
  read FOnClick
  write FOnClick;

Description

A mouse click is associated with the default action for controls, and is often the ONLY event handled in user code.

The reaction on an click can be specified by a user supplied method, and/or by selecting an action from a supplied ActionList

See also

#rtl.Classes.TNotifyEvent

The latest version of this document can be found at lazarus-ccr.sourceforge.net.