Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to detect user change in text field
Message
 
To
27/01/1999 19:15:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00180708
Message ID:
00181135
Views:
17
>>>I believe in 2.6 valid didn't run unless that value in the object actually changed. I know in a browse you could use the :F to force valid to fire every time.
>>>
>>>Is this true of VFP, or does valid ALWAYS fire when moving off a object?
>>>
>>>BOb
>>
>>Only partly true in 2.6. In 2.6, the valid for a BROWSE column didn't fire unless the user made a change, unless you defined the column using :F (force validation). Valid always fired on leaving a GET, whether or not a change was made.
>
>One more distinction: Valid in 2.6 didn't fire if user pressed ESCape, now we have to mess around with LastKey() to check for it.

That's funny ... I always had to check LASTKEY() for Escape in 2.6. Is it possible you're thinking of an earlier version?
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform