Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataenvironment
Message
De
07/04/1998 09:47:12
 
 
À
07/04/1998 09:39:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00090121
Message ID:
00090125
Vues:
24
>>Hi All!
>>I have such novice question:
>>I have form class and I use CREATEOBJECT to create instance of the
>>form. But I want to have dataenvironment in this form. I know that
>>class does not have dataenvironment. How can i create form object
>>and keep dataenvironment ?
>>Thank you Alex
>

Sorry, I made wrong reply. Actually you should add custom class property 'oDE' and then:
oForm=createobject("frmClass")
oForm.oDE=createobject("dataenvironment")
oForm.oDE.addobject("cursor1","cursor")
etc.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform