Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox Focus Display
Message
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
OS:
Vista
Miscellaneous
Thread ID:
01390544
Message ID:
01390585
Views:
44
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
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform