In addition to the other suggestions, I want to suggest something else that also works and often gets overlooked...
A private variable...
Don't laugh...< g >
Some may say this is not OOP. Whether you instantiate an object that has to be passed to the form or whether you declare a private variable and have the form reference that variable, I don't see a material difference.
Do I advocate the use of Private Variables for widespread use? No. I advocate the use in these limited circumstance.
Private dRetVal
*- Instantiate the class
*- Populate the variable in the class
*- Done...
It's simple and it works...
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