Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I make a form stop moving onto another field?
Message
From
13/01/2003 15:12:52
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00741117
Message ID:
00741173
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform