Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Cannot use OK with Tab


I've created a form with screenpainter. It has to 2 edit fields and 1 button.

When I load the form and use the TAB key, it only switches between the edit fields and doesn't go to the button. I'm using 2004.

What am I doing wrong.



This is standard behavior in SBO. The button never gets focus. To be able to execute the code behind the button when you press a key you can set the button to default. On the form properties you have a DefaultButton property. This code will execute when you press the enter key when any of the controls are selected.

Hope this helps,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question