Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox doesn't appear to have focus
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00637813
Message ID:
00637838
Vues:
20
This message has been marked as the solution to the initial question of the thread.
>>>Hi everybody,
>>>
>>>I'm navigating between controls on the form using TAB key and noticed, that checkboxes seem to be skipped in sequence, e.g. the focus (and cursor) doesn't appear inside and there is no other visual clue, that this control is currently active. What can I do?
>>>
>>>Thanks in advance.
>>
>>Maybe .TabStop property somehow turns to .F.?
>
>How could it be? It sets to .t. in design time and as far as I know, there is no code, that changes it.
>
>Say, I have:
>
>textbox1 textbox2 checkbox1 checkbox2 textbox3
>
>I tab from the 1 to the last control and it paused on each control, but I have no visual clue, that checkbox is selected. Nothing is changed, cursor doesn't appear. What should I check?
>
>
>Another question: how can I automatically change TabIndex on each control so they would follow the sequence?
>
>Thanks in advance.

Ok, found it. The checkbox has caption none... :) So, I coded "visual clue" by myself in GotFocus (backcolor = rgb(0,0,64) and in the lostfocus - restore it to default)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform