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...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only