Returns True if the cell navigation should be cancelled.
Function OnEntering Returns Boolean
OnEntering is called before a cell focus change and is sent to the object about to receive the column focus. Returning true from this function will cancel the navigation event. When called, SelectedColumn has not yet been updated and it will point to the column you are moving from.
With data aware grids, the cDbCJGridColumn object will call the data dictionary event defined in the data dictionary's Field_Entry_Msg after it calls OnEntering. This data dictionary message can also cancel the column focus change.
OnExiting is called before the cell navigation event has occurred. The OnExit event is sent after the navigation has occurred. OnEntering is called before the cell navigation event has occurred. The OnEntry event is sent after the navigation has occurred. They are called in the following order:
Get OnExiting of OldColumn to bCancel
Get OnEntering of NewColumn to bCancel
< Change focus>
Send OnExit of OldColumn
Send OnEntry of NewColumn