473,241 Members | 1,498 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,241 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 1590
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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.