Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataenvironment subclass
Message
De
28/02/2000 14:53:31
 
 
À
28/02/2000 14:25:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00338571
Message ID:
00338621
Vues:
11
>Thank you both, Charlie & James. Let's suppouse that I'm subclassing the D.E. in a programmatic
>way. How do I force the new forms created by CREATE FORM [...] to use the new D.E. class ?

In the load event of the form you could put the following code

This.addobject("oDataenvironment", "myDataEnvironment")

This would add the dataenvironment object to the form
object and you could access using oForm.oDataEnvironment. That's just one of many different way to achieve what you are trying to do.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform