dotted line highlight for button

G

Guest

Hi,
I'm trying to find the command(s) that will force buttons to be highlighted
any time they're in focus. At the moment, buttons are only sometimes
highlighted, and you can't always tell where you are. I did find this online:
"When a button has the keyboard focus, the system typically highlights the
text, icon, or bitmap of a button by surrounding it with a dotted line.", but
no instructions on how to highlight yourself. Any help would be great!
Thanks very much,
Melanie
 
J

Jonathan Allen

Try it on another computer, maybe something is wrong with yours. I've never
had the focus indicator disappear for me.
 
G

Guest

I just realized that the highlighting doesn't show up when I use an up/down
key to focus on a button that hasn't been highlighted before (tabbed into).
If it has been highlighted before, it works fine. Any thoughts on how to get
it to work all the time?
Thanks again!
Melanie
 
J

Jonathan Allen

Nope, never heard of that before. Maybe if you post the code someone else
might figure it out.
 
G

Guest

I actually found a way to work around it. As soon as one button became
highlighted, they all would when focused on so I just set the focus for the
button before the one I wanted to start with and wrote
SendKeys.Send("{Tab}"). It all worked fine then. Thanks very much though!
Melanie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top