If I create a canvas-based custom control that consists of multiple labels and canvases and want to pass the mouse events for any of the children up to the parent, should it be as simple as calling Parent.Event in each Event - i.e.: in canvas cvHintImg.MouseDown I would call Parent.MouseDown and then Return True? I’m having mixed results in my tests.
Create a new event definition in your custom control. When the mouse event occurs in the class, you call
raiseevent myCustomEvent
Then you implement that event in the parent control. In this way you can drop your custom control on various parents and have it behave the same since the parent implements how it responds to the event.