When a canvas is selected i change the hightlight color to red. When another canvas is selected i want to unselect the previous canvas. ive tried:
$canvas->selectClear;
and this did not work. Anyone have any ideas?
How are you "selecting" the canvas to begin with? Do you just have a <Button> binding that configures the canvas to be red? If so, have it also set which canvas is selected into a global variable, and on those <Button> events check if this variable has already been set because of another canvas, and use it to reconfigure the old canvas to stop being red.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.