I have a parent component which have several child components. If you left click on any of these child components they do an action. If you right click on them, you delete them.
The objetive is to do MouseDown on a child component, delete it, and continue dragging, deleting all those child component under mouse path. It works right if you start the mouseDown on the parent component (because its mouseDrag is called). But if you do the mouseDown in any child component, the mouseDrag of the parent won't be called (which has logic) since the child object was deleted. How could I solve this?
I tried adding listeners, and calling directly to the mouse functions of the parent component, but they didnt work (and I think the last method can have some problems)
Squareheads Nora developer