473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1598
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chris | last post by:
I'm using eight links listed horizontally as a menu on my site. I'm using font-variant:small-caps and they are padded so that they mimic buttons. My gripe is with the way IE handles the focus...
3
by: Daisy | last post by:
I've started writing a listview, which currently draws my list to a pane, and onclick, works out which row you've clicked on, from the co-ordinates of the mouse, sets the .Selected property to the...
3
by: cai_rongxi | last post by:
Hi, Can some body share the code to find the intersection of two rectangles? Thanks in advance
0
by: Fir5tSight | last post by:
Hi All, Again I apologize for posting this topic at the wrong forum, because I don't know where else I can get help on this matter. This is about invisible lines and rectangles in a PDF file....
7
by: ddecoste | last post by:
I have a need to add a visual representation to some data in Access. I need to draw a matix of squares inside another square. I have all the data that I need in a record in Access. The data...
9
by: active | last post by:
I need a control that displays a grid of rectangles. That is, like a brick wall except the rectangles are lined up. In VB6 I used such a control (may have been called FlexGrid but I'm not...
2
by: neihc2 | last post by:
Hi, For some pages I'm styling, the focus rectangle around a link appears just fine in Firefox. However, they are not appearing at all in IE. I don't think there's anything in my css file that...
1
by: john ciriello | last post by:
I created a form and put a button and a label on it. I set the tabstops to false. When I first run it I can click the button and there is no focus rectangle. Which is what I want. However, if I...
3
by: cowboyrocks2009 | last post by:
Hi, I am trying to write a Java program to plot rectangles with different colors side by side non overlapping but unfortunately I am unable to do that as of now. Suppose I want to create 3...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.