Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I make a form stop moving onto another field?
Message
De
13/01/2003 15:12:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00741117
Message ID:
00741173
Vues:
30
Colin,

Are you trying to prevent it from looping back to the top textbox when the user presses enter on the last textbox? This will prevent that...
* keypress() method of last textBox
LPARAMETERS nKeyCode, nShiftAltCtrl

if (nKeyCode = 13 or nKeyCode = 9) and nShiftAltCtrl = 0
	nodefault
endif
>Steve
>
>As i move around the form i get to a point where i want to stop the cursor moving on. The only way i can think of doing it is to jump to a trxt box which is the last object in the tab order
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform