470,815 Members | 1,133 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

problem when opening a form

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
0 1081

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Thompson Yip | last post: by
1 post views Thread by Bob Alston | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.