Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Class DataEnvironment
Message
From
26/12/2006 13:33:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/12/2006 13:25:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01180243
Message ID:
01180246
Views:
18
>Hi All,
>
>I cannot seem to get a run-time object reference to a VCX form data envronment object. I am adding the DE using the DECLass and DEClassLibrary properties of the form class. Documentation says I should be able to reference THISFORM.DataEnvironment, but VFP complains how there is no object reference for it.
>
>Any clues?

It's too early. The DE instantiates BEFORE the form, so in de.beforeopentables you can't access thisform because form.init hasn't run yet. Once the form exists, you'd be able to do that. Check the "event sequence" subject in help.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform