I place onto a form an edit component and a dbgrid component (with opened dataset)
edit component taborder = 2 (tabstop=true)
dbgrid component taborder = 1 (tabstop = true)
I'm in editing mode in grid and then :
I push ESC key on grid -> everything is OK, OnExit event won't be fired.
But now i change taborder :
edit component taborder = 1 (tabstop = true)
dbgrid component taborder = 2 (tabstop = true)
I'm in editing mode in grid too and then :
I push ESC key on grid -> now, OnExit event will be fired.
edit.OnEnter event will be fired
and dbgrid get back the focus again
Is it normal ?