![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Can the dotted line around a button be turned off? "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." from Windows SDK. When I press ALT or the TAB key, the button with focus is surrounded with a dotted line. Is there a way to turn this off? It just doesn't look good for non-rectangular buttons. |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Can the dotted line around a button be turned off? I wish it was that simple. Unfortunately, when I set the Focusable property to "false", the button will no longer receive focus and IsFocused is never set to "true". I find it strange that the dotted line is not part of the visual tree. Any other ideas? "Erik Thomas" wrote: > Set the Button property: > > Focusable="False" > > Erik > > "Gary F" wrote: > > > "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." from > > Windows SDK. > > > > When I press ALT or the TAB key, the button with focus is surrounded with a > > dotted line. Is there a way to turn this off? > > > > It just doesn't look good for non-rectangular buttons. > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Can the dotted line around a button be turned off? See my post on http://forums.microsoft.com/MSDN/Sho...92232&SiteID=1 "Gary F" <GaryF@discussions.microsoft.com> wrote in message news:C1829471-F7D7-4AA7-A7C9-7A31AC14CF15@microsoft.com... >I wish it was that simple. Unfortunately, when I set the Focusable >property > to "false", the button will no longer receive focus and IsFocused is never > set to "true". > > I find it strange that the dotted line is not part of the visual tree. > > Any other ideas? > > "Erik Thomas" wrote: > >> Set the Button property: >> >> Focusable="False" >> >> Erik >> >> "Gary F" wrote: >> >> > "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." from >> > Windows SDK. >> > >> > When I press ALT or the TAB key, the button with focus is surrounded >> > with a >> > dotted line. Is there a way to turn this off? >> > >> > It just doesn't look good for non-rectangular buttons. >> > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Can the dotted line around a button be turned off? I was not able to set the value to "{x:null}", but I was able to override it with my own style. This was a big help. Thanks. "Dennis Cheng [MSFT]" wrote: > See my post on > http://forums.microsoft.com/MSDN/Sho...92232&SiteID=1 > > > "Gary F" <GaryF@discussions.microsoft.com> wrote in message > news:C1829471-F7D7-4AA7-A7C9-7A31AC14CF15@microsoft.com... > >I wish it was that simple. Unfortunately, when I set the Focusable > >property > > to "false", the button will no longer receive focus and IsFocused is never > > set to "true". > > > > I find it strange that the dotted line is not part of the visual tree. > > > > Any other ideas? > > > > "Erik Thomas" wrote: > > > >> Set the Button property: > >> > >> Focusable="False" > >> > >> Erik > >> > >> "Gary F" wrote: > >> > >> > "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." from > >> > Windows SDK. > >> > > >> > When I press ALT or the TAB key, the button with focus is surrounded > >> > with a > >> > dotted line. Is there a way to turn this off? > >> > > >> > It just doesn't look good for non-rectangular buttons. > >> > > > > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Can the dotted line around a button be turned off? The null value is case sensitive: "{x:Null}". Let me know if that still doesn't work for you... "Gary F" <GaryF@discussions.microsoft.com> wrote in message news:6DC0505F-1264-4412-B0B8-528A867211F6@microsoft.com... >I was not able to set the value to "{x:null}", but I was able to override >it > with my own style. This was a big help. Thanks. > > > > "Dennis Cheng [MSFT]" wrote: > >> See my post on >> http://forums.microsoft.com/MSDN/Sho...92232&SiteID=1 >> >> >> "Gary F" <GaryF@discussions.microsoft.com> wrote in message >> news:C1829471-F7D7-4AA7-A7C9-7A31AC14CF15@microsoft.com... >> >I wish it was that simple. Unfortunately, when I set the Focusable >> >property >> > to "false", the button will no longer receive focus and IsFocused is >> > never >> > set to "true". >> > >> > I find it strange that the dotted line is not part of the visual tree. >> > >> > Any other ideas? >> > >> > "Erik Thomas" wrote: >> > >> >> Set the Button property: >> >> >> >> Focusable="False" >> >> >> >> Erik >> >> >> >> "Gary F" wrote: >> >> >> >> > "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." from >> >> > Windows SDK. >> >> > >> >> > When I press ALT or the TAB key, the button with focus is surrounded >> >> > with a >> >> > dotted line. Is there a way to turn this off? >> >> > >> >> > It just doesn't look good for non-rectangular buttons. >> >> > >> >> >> |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| So there's no Messenger Button at the bottom line in Live Mail as before?! | Live Mail | |||
| So there's no Messenger Button at the bottom line in Live Mail as before?! | Live Messenger | |||
| No Line-In/Microphone Levels or Unmute button | Vista hardware & devices | |||
| Can tool bar button text be turned off? | Live Mail | |||
| Dotted box around icons and anything please help I need to fix thi | Vista file management | |||