Information générale
Catégorie:
Programmation Orientée Object
Versions des environnements
Network:
Windows 2003 Server
Thanks Naomi, that is what I was thinking, but wasn't sure.
I knew the UT could answer that quickly!
Jim
>>I am defining a non-visual class.
>>I define properties and procedures of this class.
>>
>>I instantiate an object based on that class.
>>
>>1. How does code in a procedure of the object refer to properties of the object?
>
>with this
> .PropertyOne = 'Something'
>endwith
>
>>
>>2. Can a procedure in the object call a form, and then have the form store values into properties of the object ? How?
>>
>?
>
>>3. Can that procedure pass to a form a reference to the object, with which the form can access the properties of the object?
>>
>do form myForm with this
>
>Save the reference in the Init of the form and then form can access properties of the object and its methods
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