Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to put the code?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00128883
Message ID:
00128897
Vues:
23
>3. object.savemethod() - most obscure and least familiar
> to me

I would reccomend using this method. By creating a custom object for data routines and not plugging it directly into the form's methods you have more flexability. For example, if you windup having to redo the form from scratch, you just drop the data control object you've created on the new form instead of having to cut and past from one form to another. You may also find you'll need to use the same code on another form.

This method really isn't that obscure, your just placing the code in a different object and placing that object on the form. Calling it would require a simple rent.MyDataObject.save()
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform