0

So I am working on a program and it has two seperate classes.. One of them contain the forum layout and the other contain some calculations and totals.. The problem is that the class with the calculations contain a constructor and other functions that I need to pass from this class to the other one (the forum), I don't know how to pass these values and functions, and is it possible to do so?

Thank you

4
Contributors
4
Replies
32
Views
4 Years
Discussion Span
Last Post by tinstaafl
Featured Replies
0

No.. That doesn't help.. It's not just about the form.. it's about the variables too, I need to pass them from a class to another without re- initilize the whole class again.

1

When calling the class where the form is to be used, pass the form as parameter ByRef.

Hope this helps

Comments
Thank you.. I made it work
0

When you declare the class do it in a public module. that way it's accessible to every class in the project, without having to pass it as a parameter.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.