Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping Lostfocus
Message
From
14/01/2005 11:36:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/01/2005 02:47:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00977001
Message ID:
00977234
Views:
22
>The best, and correct, approach is to use VALID for validation, thus the name. RETURN=.F. measn failed validation.

Theoretically, yes. But since VFP3 we have to live with this limitation that SetFocus() can't be called if there's a .valid anywhere upstairs the call stack. This means that any new form called during validation must have absolutely no .Setfocus() anywhere, because there's a pending .valid (or .RangeLow(), .RangeHigh() and a couple of others). If this limitation didn't scope out to called forms, we could live with that... but it did, so for ten years now we live with that.

Now someone should correct me - I think I have read somewhere that this limitation is removed in VFP9... if that is true, we may rethink a few things.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform