Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox Focus Display
Message
From
24/03/2009 01:33:38
 
 
To
23/03/2009 10:50:13
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
OS:
Vista
Miscellaneous
Thread ID:
01390544
Message ID:
01390937
Views:
36
Hi Bill,

Sure seems like a bug to me ... I didn't find any workaround (didn't look real hard, but still nothing jumps out at me).

If you do find a solution, let us know.

~~Bonnie



>Hi Einer,
>
>I'm not convinced of that since after the first save operation I can programmatically set the focus to the CheckBox control and it will display the dotted focus box. If it is "standard" behavior to not visually indicate a control having focus, the we have a standard problem. A user should be able to visually determine if a control is selected and which control is, even when the form is initially instantiated and shown.
>
>Bill
>
>>I don't think it matters what control is the first control in the tab order. the dotted line is not displayed until the Tab button is pressed. I think this is atandard windows behaviour.
>>
>>>I am finding that when a Win Form is initially instantiated and shown, if the initial control to receive focus is a CheckBox control, the CheckBox control will not display the dotted line around the text indicating that the control has focus.
>>>
>>>The control actually does have focus since pressing the space bar will toggle the checked state and tabbing will select the next control in the tab order, but it is not possible for the user to visually know the control has focus since the dotted line is not visible.
>>>
>>>I have tried various combinations of checkbox.Select(), checkbox.Focus(), form.ActiveControl = checkbox in different form events ( e.g. Shown, Activated, etc.) to no avail.
>>>
>>>Does anyone know the cause of this and if a workaround is possible?
>>>
>>>Thanks,
>>>Bill
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform