I want to tab through controls, and when on a control (already tabbed there, and it has gotFocus), I want to hit "enter key" and invoke code.
When I use the "On Enter" event, when I tab to a control, it runs the code automatically. I believe that is because "On Enter" actually runs before the "gotFocus".
I thought the "on click" event was supposed to act this way but it doesn't. When I hit enter on a control, the cursor moves the same way the tab does.
Some other threads have the opposite problem (they want the "enter" key to work the same as "tab") but I couldn't find the answer to my problem.
When I use the "On Enter" event, when I tab to a control, it runs the code automatically. I believe that is because "On Enter" actually runs before the "gotFocus".
I thought the "on click" event was supposed to act this way but it doesn't. When I hit enter on a control, the cursor moves the same way the tab does.
Some other threads have the opposite problem (they want the "enter" key to work the same as "tab") but I couldn't find the answer to my problem.