No it's not, it sux.- I have problems passing usercontrol reference:
I have a module to handle certain drawing methods for several usercontrols in an ActiveX. What should i pass to the method so that i can use ie line method on it. Passing "Me" keyword or "Usercontrol" wont work. IE:
In usercontrol:
In module:Code:Drawbox me ' <--- What to put here instead of me?
Code:Sub drawbox (obj as object) obj.line (0,0)-(obj.height-screen.twipperpixely,obj.width-screen.twipperpixelx),0,B end sub





Reply With Quote