My main form has several subforms. It also has a tabctl set of 5 tabs, each with multiple subforms.
When a use selects one of the tabs in the tbctl, the focus is jumping to a recently added subform, near the bottom and they have to scroll back up to the top of the tabctl. I've been messing with all of the 'tab index' properties, and they seem correct. I have the topmost subform set to tab index 0, and the other subforms in order going down the tabctl. Within each subform, the 'tab index' order is set as well, but each subform has a new tab index order.
I am trying to have the focus set to the topmost control in the topmost subform when the user selects this tab in the tabctl.
Am I off-base using 'tab index' to make this happen? Should I somehow be doing this programmatically via the onclick property of the tabctl?
I appreciate any advice.
Steve