Sigh... VB newbie here.
I have a form that successfully uses a class I made (AddLabel) that created label objects on that form. It is launched by a button on THAT form.
Works great.
However, I have a code module where I need to use that same class to place a label on the form.
Essentially, the code module doesn't "see" the form at all... it has no idea what I'm talking about
I don't understand how to make this form "known" to the code module... such that I can invoke the class to add a label to it.
Any explanation, especially with code example, appreciated!
This OOP stuff is really painful :/
R
I have a form that successfully uses a class I made (AddLabel) that created label objects on that form. It is launched by a button on THAT form.
Works great.
However, I have a code module where I need to use that same class to place a label on the form.
Essentially, the code module doesn't "see" the form at all... it has no idea what I'm talking about
I don't understand how to make this form "known" to the code module... such that I can invoke the class to add a label to it.
Any explanation, especially with code example, appreciated!
This OOP stuff is really painful :/
R