RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.OnColEnter Event

Occurs when focus moves to a new cell in the grid.

Pascal
property OnColEnter: TNotifyEvent;
C++
__property TNotifyEvent OnColEnter;

Write an OnColEnter event handler to take specific action when a new cell has just been selected. Focus moves to a cell when 

The user navigates to the cell using the keyboard. For example, when the user uses the Tab key, or the Home key. 

The user clicks the mouse button down in the cell. 

The SelectedField or SelectedIndex property is set. 

Read the SelectedField or SelectedIndex property to determine which cell was just entered. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!