Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Design Question
Divers
Thread ID:
01103420
Message ID:
01103420
Vues:
55
I have a SetMode method on my baseform class that places the form into either
AddMode or EditMode.

AddMode is called, of course, when the New Record button is clicked. Edit Mode
gets called when the form is opened for editing.

In either case, just because the form is up and ready for input doesn't mean the
user actually changed something.

So I was thinking that in the InteracticeChange method of all data entry controls
I could do:
ThisForm.ValueChanged(This)
The ValueChanged method on the form could then be used to turn on a lChanged
property, which would then be checked to see if in fact changes were made.

This all would be used in cases where buffering is not enabled.

Anyone see any issues with this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform