Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Add object to form in code
Versions des environnements
Not quite sure how to do this.............
I have a class (oJob) which is found in a prg (progs\job_generator.prg)
I have a form. In the init of the form I want to add an instance of oJob as an object, not a property. The reason for this is that I would like oJob to be able reference properties on the form (this.parent.property)
This isn't a critical issue for me (I have alternatives available that I'm sure would work) but I would like to know if this can be done and, if so, how.
Thanks to all...............Rich
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