Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus to itself?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00297727
Message ID:
00297841
Views:
19
>Hey guys,
>
> I've been trying to set the focus back to its object but it doesn't seem to work...
> IF ISBLANK(This.Value)
> This.SetFocus
> ...
> I want my application to trap 0 or blank values before going to another object. I've tried to use the Valid Event but I do have a Cancel button. My cancel button wont activate until the 0 or blank object has a value. I need some suggestions.

Or another way to do it is just put

NoDefault

instead of This.Setfocus in the Lostfocus - that will stop it from moving.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform