![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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) |
| Guest | RE: Can the dotted line around a button be turned off? 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) |
| Guest | 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![]() |
| | #4 (permalink) |
| Guest | 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![]() |
| | #5 (permalink) |
| Guest | 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![]() |
| | #6 (permalink) |
| Guest | 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 | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No Line-In/Microphone Levels or Unmute button | dumdum | Vista hardware & devices | 3 | 07-22-2008 02:09 PM |
| CD drive is turned off and needs to be turned on | misterchuck | Vista hardware & devices | 2 | 06-11-2008 01:32 PM |
| Can tool bar button text be turned off? | Mike | Live Mail | 4 | 05-01-2008 01:40 PM |
| Dotted box around icons and anything please help I need to fix thi | ColbyScott | Vista file management | 0 | 09-24-2007 03:52 PM |
| FileExplorer TreeView & WinXP like dotted lines | Mike via WindowsKB.com | Vista General | 0 | 02-27-2007 12:07 PM |