Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>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.
Thank you for prompt reply.
It means after creating dataenvironment in the class property 'oDE' and all cursors i need programmaticly fill all properties of these objects and call it's methods also from my program. Is it right ?
Alex
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