Storing a control in a custom property

Mike Bonner bonnmike at gmail.com
Tue Apr 30 13:37:39 EDT 2013


Hmm had tried it, but only seemed able to restore a single object no matter
how many were selected. Will have to try it again! (this is why I worked
with groups for multiple objects, I could make it work)  Thx for the
script, will add it to my snippets.


On Tue, Apr 30, 2013 at 11:14 AM, BNig <niggemann at uni-wh.de> wrote:

> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list