Groups and cloning

Jerry Balzano gjbalzano at popmail.ucsd.edu
Thu Feb 3 12:40:16 CST 2005


Thanks, Chipp & Jacque, that worked.  Since this difference between 
"copy" and "clone" might be missed by someone else (and also just for 
fun), I added a "web note" to the "copy" command (hmmm, maybe I should 
have added it to "clone" instead), and — perhaps I shouldn't be amazed 
by this — that worked just fine too! (i.e. I can download/read my web 
note when I'm on a different computer).

	- Jerry

On Feb 2, 2005, at 8:42 PM, J. Landman Gay wrote:

>> More to the meat of my problem, suppose one wanted to create a 
>> 'clone' of one of these group members.  Some simple mouse interaction 
>> like clicking on a group member would create a copy of the control, 
>> stuck to the mouse until the user clicked somewhere to "drop" it.  
>> Mouse stuff aside, "clone" all by itself doesn't do what I want, 
>> because it creates, not a new ungrouped control that looks like the 
>> clicked-on control, but another group member.  This makes sense, I 
>> suppose, since you are "cloning" all of the properties of the 
>> control, including its owner.  So how does one do what I want?
>
> Use the "copy" command instead:
>
>  copy btn 1 to this cd
>
> Makes a copy of button 1 on the card layer rather than inside the 
> group.
>
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>

> Jerry,
>
> How about
>
> copy btn "myButton" to this card
>
> or something along those lines..?
>
> -Chipp



More information about the use-livecode mailing list