Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox Focus Display
Message
De
23/03/2009 07:58:23
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
CheckBox Focus Display
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Divers
Thread ID:
01390544
Message ID:
01390544
Vues:
103
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform