Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class DataEnvironment
Message
De
26/12/2006 13:33:21
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
26/12/2006 13:25:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01180243
Message ID:
01180246
Vues:
19
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform