Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go Back to Previous Field
Message
 
 
To
07/11/2005 10:27:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065909
Message ID:
01065994
Views:
15
>No, it is not like that, I cannot put any validation in lost focus event. Because the discount field is not mandatory. And in case of rush the user has no time to concentrate on the message.
>
>I just wanted to go back to the discount field if the user want, please help if it is possible by other means.
>
>Thanks - Saif

If you're using Valid event you can return -1. In this case you're going to the previous field in the tab sequence. If you return 0, you remain in the field. If you return 1, you go to the next field. In other words, you can return any numeric value to indicate which field in tab sequence you want to go from the valid event. However, I would probably try to do it in LostFocus event of the field as Hilmar suggests.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform