I have an issue on one of my forms where once that tab off the last control...they start tabbing through another form that is not even visible. Any advice on handling this would be greatly appreciated.
So far I have tried disabling the forms that are not visible. This didn't work well, but disabling the button directly worked. I'm just wondering if they are is better solution to this problem then simply cycling through every control on every non-visible page and disabling the controls...
If the form has visible=false, you shouldn't be able to tab to set focus to
its controls. Can you reproduce in a simple test case?
It was an event being fired that set the focus in the wrong spot.