Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid or whatever, revisited
Message
De
13/04/1998 23:59:30
 
 
À
13/04/1998 15:50:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00091590
Message ID:
00091680
Vues:
22
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform