Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid or whatever, revisited
Message
From
13/04/1998 23:59:30
 
 
To
13/04/1998 15:50:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00091590
Message ID:
00091680
Views:
21
>Dragan:
>
>I routinely build a .oldvalue property into any class that can hold a value. That way I always have an absolute record of any value change. Just assign .oldvalue = .value in the GotFocus() event. Then you can test from any position in the form for .oldvalue = .value and take appropriate action.
>
>This is a holdover from old Clipper code. I'm certain there are modern, OOPS ways of doing the same thing that are much more elegant.

My framework does the exact same thing, and I don't think that it falls outside of any OOP principles. The only other alternative is GETFLDSTATE, and OLDVAL and such, which can only be used on fields in buffered tables, not unbound controls.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform