So: I have a group ['code block'] that contains this code:

on mouseDown
   clone me
   set the name of last group to "RL"
   grab group "RL"
end mouseDown

on mouseUp
   if not within (graphic "T1", the mouseloc) then
      delete group "RL"
      end if
end mouseUp

2 problems coming up here:

1. The mouse does not grab the cloned group.

2. If the mouse drops the cloned group outwith the bounds of graphic "T1" it is not deleted.

Would be glad of some help.

Richmond.

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to