Memory: Module Subs vs. ActiveX Subs
I've created my first activeX usercontrol, a souped up textbox. Should I put all the subroutines (gotFocus, KeyDown, etc.) in the control's code or should I put all the subroutines into a public module.
i.e. By putting the subroutines in the control's code, does VB replicate the code for each instance of the control used in the project? And thereby, chew up memory?
Am I better off placing the routines in a module that all controls will have access to?
Thanks for any insights,
Jeff