Restricting graphics to a field?

Doug Lerner doug at webcrossing.com
Sat Jan 17 01:46:54 EST 2004


Got it to work!

on mouseMove
   if exists(field "canvas") and the mouseLoc is within the rectangle of
field "canvas" then
    choose graphic tool
  else
    choose browse tool
  end if
end mouseMove


Works just like I need it to for now.

doug



More information about the use-livecode mailing list