Information générale
Catégorie:
Gestionnaire d'écran & Écrans
> >well, this is realy easy
> >just add a proerty to you form class oDE
> >and instantiate a DE in you load event, assign it to the oDE property (so
> it will be in
> >scope when the form is in scope)
>
> I already tried this in the Load() event
>
> ThisForm.AddObject('DataEnvironment','DataEnvironment')
>
> but this is something we can't do because the DataEnvironment is not in the
> form hierarchy.
>
> But maybe this is not what you tried to explain me. :)
FOA
you have to have a DE object you can instantiate
also what I do is use CREATEOBECT and assign it to a property
Arnon
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement