Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox Focus Display
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Divers
Thread ID:
01390544
Message ID:
01390585
Vues:
48
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform