Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter. !Tab
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00114020
Message ID:
00114441
Vues:
16
>>I'm trying to SetFocus to a textbox in a container, inside another container, on a form, from within it's own KeyPress event. They want me to use to add items to a list indefinitely, or when they click OK. I'm forgetting how to not proceed in the tab order of the form(or container) when enter key is pressed.
>>
>>Eric K.
>
>What about setting this code in the keypress event of the textbox?
>
>if nkeycode = 13
> nodefault
> && your code
>endif
>
>Another solution is setting tabstop property to .f. to all the other controls too.
>Hope this helps
>Carlos

nodefault works great thanks...

Eric K.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform