Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping Lostfocus
Message
From
13/01/2005 19:16:53
 
 
To
13/01/2005 19:00:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00977001
Message ID:
00977007
Views:
31
>If I use txt.lostfocus as a validation event, what is the best or most correct approach
>eg...
>
mytxt.lostfocus
>***************
>if ! passvalidation()  && some validation code
>   this.setfocus()
>   nodefault
>   return .f.
>endif
>
>I'm thinking I don't need nodefault and return .f.

You can remove RETURN .F.
Previous
Reply
Map
View

Click here to load this message in the networking platform