You can do it for multiple objects also:
-----------------
on mouseUp
   lock screen
   set the selected of button 1 to true
   set the selected of field 1 to true
   set the selected of field 2 to true
   set the selected of image 1 to true
   copy
   set the uObjects of this stack to the clipBoardData["objects"]
   select empty
   unlock screen
end mouseUp
------------------

-----------------
on mouseUp
   set the clipBoardData["objects"] to the uObjects of stack "untitled 1"
   paste
end mouseUp
----------------

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Storing-a-control-in-a-custom-property-tp4664040p4664053.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

Reply via email to