set focus on a tab panel
Posted: Thu Oct 27, 2011 2:27 pm
Is there special processing required to set focus on a field withiin a tab panel when the screen is first displayed?
We have created a few screens with all input fields (textboxes) contained within a tab panel. When the screen displays, focus is set to one of the buttons outside the tab panel. Even if we set the "set focus" property to true on one of the textbox fields, initial focus remains with the first button outside the tab panel.
If we don't use a tab panel, focus is automatically set to the first textbox field on the screen and the "set focus" property works fine.
We have created a few screens with all input fields (textboxes) contained within a tab panel. When the screen displays, focus is set to one of the buttons outside the tab panel. Even if we set the "set focus" property to true on one of the textbox fields, initial focus remains with the first button outside the tab panel.
If we don't use a tab panel, focus is automatically set to the first textbox field on the screen and the "set focus" property works fine.