Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter Key as Tab
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00297403
Message ID:
00297619
Vues:
24
>>Why is it that on some of my forms, when I press ENTER while on a textbox, the focus goes to the next control in the tab order and on others it does not?
>>
>>TIA
>
>
>Do you have a Command Button where the Default property = .T.?
>
>FYI, Enter is not supposed to advance to the next field. Enter is supposed to fire the Click method of the default command button.

I found the problem. As it turns out I put a SetFocus to command button in the init of the form .I don't know why that created a problem but removing it solved it. What should the ENTER key do if there is no default command button? I'm in the process of rewriting an old legacy program. The users are use to using the ENTER key to advance to the next field. I'd like to mimic this behavior if possible. any suggestions?
Alan Trosky
MIS Director
Pennsylvania Bar Association
Harrisburg PA 17108
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform