How do I make a Command button from a form do something in the User Control?
Like call a sub routine that draws something on the user control.
I don't want the button to be on the User Control I want a button from the Form to do it.
I have written this code in VB 6.0
Public Function DrawAxes()
Line (100, 3400)-(5000, 3400)
Line (700, 4000)-(700, 700)
When I run it it says Sub or Function not defined.
It is referenced in the Project components already.