Show: Delphi C++
Display Preferences

Vcl.DBGrids.TCustomDBGrid.OnCellClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCellClick: TDBGridClickEvent read FOnCellClick write FOnCellClick;

C++

__property TDBGridClickEvent OnCellClick = {read=FOnCellClick, write=FOnCellClick};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Occurs when the user releases the mouse in one of the cells of the grid.

Write an OnCellClick event handler to take specific action when the user clicks in one of the cells of the data-aware grid.

OnCellClick occurs when the user releases the mouse. To take action when the user clicks down on the mouse, use the OnColEnter event.

OnCellClick will not occur when the mouse is released at the end of resizing a row or column, or when the cell is being edited.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance