Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataenvironment subclass
Message
From
28/02/2000 14:53:31
 
 
To
28/02/2000 14:25:03
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00338571
Message ID:
00338621
Views:
13
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform