One event for multiple shapes.
Posted on 2004-11-29
I want to have one event for all shapes on a form. All shapes are already added to the form.
I want that if you click on the shape that it will turn red and that it will turn white if it already is red.
Ofcourse this would be easy if you just go to each OnMouseDown of every shape but I just want one OnMouseDown event for all the shapes, so that event should be able to recognize what shape was being clicked on.