Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use dataenvironment subclass
Message
De
27/07/2006 17:28:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01140554
Message ID:
01140893
Vues:
17
>I've just started to explore the dataenvironment and cursoradapter as subclasses. I am wondering if there is a way that is generally accepted as better than others for using these classes. It appears that I can either drop a DE class on a form, instantiate it in code in the form init, or use the DEclass property. Of those three methods which way is considered best? (or if there is something I don't know about please enlighten me!)

Um... not the form's init, but form's load. You want the tables open before the controls instantiate, and form's init happens later. You can use the new .bindcontrols property and bind them after DE object is created.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform