Hello, I do have a control with a msflexgrid on it. I do want to give a ref to a class module but I do not really know how to do it:

UserControl:
Call myClassModule.SomeMethod(myFlexGrid)

MyClassModule:
Public Sub SomeMethod(myRefToMSFlexGrid As MSFlexGrid)

If I do make it this way, i do get an error (private object-modules...) , but if I change the MyClassModule to:
Public Sub Init(theControl As Object)
there is no error and it does work!
But I do not want to use "As Object". Does someone has an answer?

THANKS!!!