473,513 Members | 2,684 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dotted line highlight for button

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

Nov 17 '05 #1
4 2426
Try it on another computer, maybe something is wrong with yours. I've never
had the focus indicator disappear for me.

--
Jonathan Allen
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
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

Nov 17 '05 #2
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

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

--
Jonathan Allen
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
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


Nov 17 '05 #3
Nope, never heard of that before. Maybe if you post the code someone else
might figure it out.

--
Jonathan Allen
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
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

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

--
Jonathan Allen
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
> 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
>


Nov 17 '05 #4
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

"Jonathan Allen" wrote:
Nope, never heard of that before. Maybe if you post the code someone else
might figure it out.

--
Jonathan Allen
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
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

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

--
Jonathan Allen
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
> 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
>


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
53653
by: news-server | last post by:
Hi, I was wanting to get a dotted line..Such as they have on http://www.e-cbd.com/ What part of the CSS in dreamweaver is this going to be under? By the way..the part I am talking about is...
4
8490
by: Doors of Perception | last post by:
As you probably know, when you click on a link in MSIE and go to a page, then when you click the "back" button, you see a dotted box outlining the link on which I just clicked. As far as I'm...
6
30634
by: Rene | last post by:
I tried searching the newsgroups to see how do you draw a dotted line but I was unable to find an answer, drawing a straight line is very easy but not a dotted one. So the question is, how do I...
1
3346
by: Carl Gilbert | last post by:
Hi I am looking to draw a dotted line between two controls at design time and render this at run time in a similar fashion. The most basic application of this would be a panel with two buttons...
2
2772
by: melanieab | last post by:
Hi, Before I go into detail, is there any way to force a button to get that dotted box on it that shows it's in focus? Just saying btn1.Focus(); isn't working for me. Btn1 is definitely the thing...
3
4569
by: alexjaquet | last post by:
Hi, I've in my web pages an affectation to this property but it's doesn't work (same for all the others properties I'm trying to update): here is the complete function I call on mouseover : ...
2
7320
by: Brian Kendig | last post by:
I'm trying to make a web page with a restaurant menu on it. Each line on the menu is the name of a dish (left-justified) and that dish's price (right-justified), with a dotted line between them....
6
5172
by: pravinnweb | last post by:
hi i am new to javascript i hav some problem with button in page that is when i set the focus to button the dotted line appear around the button is there any solution to hide that dotted...
2
4302
by: FredZimmerman | last post by:
When I have my black backround for Body and my button is a round .GIF image (actually image has round green button on black backround, whole thing a rectangle), when I click on the button...
0
7257
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
7379
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
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7098
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
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.