Question:
How can I override the Enter key to act like theTab key between components in a TDBCtrlGrid?
Answer:
There’s no simple way to do this. Why? Because child controlscontained within a TDBCtrlGrid never get focus, which is required in orderto trap keystrokes at that level. You see, once the TDBCtrlGrid gets focus,it retains it. Child controls never get active status.
You can get a list of child controls with the GetTabOrderList method of TDBCtrlGrid, then iterate through the list to tryto get to the next control. Other than that, there is no simpler way to approach this problem.