When making a User-Defined control in VB6, how do I tell VB what to do when an event is called. I am currently trying to make a number box to take the place of a TextBox. The only problem with that is I can't figure out how to tell VB to handle the Click event and others. A user-defined control comes with GotFocus, LostFocus and Validate; but I want to add Click, MouseUp, MouseDown, DblClick, KeyPress, KeyUp, KeyDown, and Change (Maybe a few others). I could use some general help to make the code handle the event when it is called and have it be called at the right time.
Any help is appreciated.
Markizano
Any help is appreciated.
Markizano


