Contents - Index - Previous - Next


OnClick event



Applies to
TProfGrid component

Declaration
property OnClick: TNotifyEvent;

Description

Occurs after a new cell in the grid receives focus.

Note:

The meaning of the OnClick event in TCustomGrid and its descendants is different from one in most of other VCL controls. That difference is (weakly) documented in the "TControl.OnClick" topic of VCL Reference:

  "This event can also occur when the user selects an item in a grid".

A more correct description would be:

  "Occurs after the current (focused) cell in a grid has changed by any reason, i.e. either programmatically, or by user manipulation with mouse or keyboard".