RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.OnCellClick Event

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

Pascal
property OnCellClick: TDBGridClickEvent;
C++
__property TDBGridClickEvent OnCellClick;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!