Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox Focus Display
Message
From
23/03/2009 07:58:23
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
CheckBox Focus Display
Environment versions
Environment:
C# 2.0
OS:
Vista
Miscellaneous
Thread ID:
01390544
Message ID:
01390544
Views:
100
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
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Next
Reply
Map
View

Click here to load this message in the networking platform