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

problem when opening a form

P: n/a
Hi,
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!!!
Mel
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.