Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with setfocus used in keypress event
Message
De
26/04/1997 12:51:27
John Thomason
King Richard Veterinary Centre
Leicester, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with setfocus used in keypress event
Divers
Thread ID:
00029785
Message ID:
00029785
Vues:
56
If I use the keypress event to run code on nKeyCode = 13 the keystroke is performed in the next field entered. If the next object in the tab order is a command button, the click event is triggered. If I want to move the focus to a text box which is not next in the tab order using setfocus, on arriving in the desired field I get an unwanted "return" moving me into the next object in the tab order. I would be grateful for any help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform