471,343 Members | 1,088 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,343 software developers and data experts.

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 1529
On Fri, 18 Jul 2008 17:40:02 -0700, john ciriello <j.********@comcast.net>
Hey Peter, if you see this I tried to respond but the server rejected the
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.

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
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.