468,738 Members | 1,593 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Tab and Focus Rectangles

Hey Peter, if you see this I tried to respond but the server rejected the
request. Here's my reply to your responce. Thanks.

Hi Peter, thanks for the reply. I should be more specific though. If you run
Microsofts calculator, under accessories, in both standard and scientific
you will find that they(Microsoft) have disabled the Tab key completely,
when the buttons are clicked there is no focus rectangle and when the mouse
moves away, the focus dissapears from the buttons. I was just trying to
figure out how they did it because I have been working on a calculator of my
own and thought it was a nice effect. They also respond to keystokes with no
visual indication on any of the buttons. Maybe I should focus(pardon the
pun) on more important things. I would however like to know how they
completely ignore the tab key and illiminate the rectangles because I am
trying to focus(really not intended) on C# as my primary language. I do not
want to have to patch it with this and that. Just my own curiosity as to
wether it can be done with C# or is it another language like c++. Thanks.
Jul 19 '08 #1
1 1482
On Fri, 18 Jul 2008 17:40:02 -0700, john ciriello <j.********@comcast.net>
wrote:
Hey Peter, if you see this I tried to respond but the server rejected the
request.
If the server rejected the response, how am I seeing it?

As for your question: I did describe in my previous reply two ways to
disable the appearance of the focus rectangle. I suspect that the
Microsoft "calculator" application uses the "right way". :)

If the calculator has a 100% mapping between the keyboard and particular
buttons, I suppose the focus rectangle is superfluous. As a general rule
though, that doesn't always happen. As long as you can stick to that
behavior though, disabling the focus rectangle is probably fine.

Pete
Jul 19 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Chris | last post: by
3 posts views Thread by Daisy | last post: by
3 posts views Thread by cai_rongxi | last post: by
reply views Thread by Fir5tSight | last post: by
1 post views Thread by john ciriello | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.