Hi all.
I am designing an application, that has a toolBar[object] running down one side, with various buttons on it.
It also has a canvas[object], which is where the program will be drawing whatever.

How I can pass paramiters from the toolBar[object] to the canvas[object], to say what button was last pressed.

canvas and toolBar are both called from a workSpace class but NOT inherited.