By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,245 Members | 1,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,245 IT Pros & Developers. It's quick & easy.

problem when opening a form

P: n/a
I can't begin to understand this one. I have a form with a tabcontrol.
When I first enter one of the pages (whether by tabbing or opening the form),
I say to focus on a button. It does focus on that button but you wouldn't
know it by looking at it (the dotted rectangle isn't there). I noticed that
when the Tab key was pressed, the focused button will highlight, so when
opening the form, I focused on the button next to the one I want focused and
did a SendKeys.Send Tab. This works if the current tab page is the one in
focus (I have another screen on that same tabpage where I can press an Exit
button to return to the original screen), but it refuses to work when I tab
into the page from another or open the form. I'm completely out of ideas
around this problem. Anyone know what I could do?
Thanks so much!!!
Feb 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.