transfer ALL properties of one button to others

Monte Goulding monte at sweattechnologies.com
Tue Jun 24 00:41:01 EDT 2003


> 
> on mouseup
>     put the properties of btn  "Find" into myArray
>     delete variable myArray[name] -- keep name of target
>    delete variable myArray[rect] -- keep rect-loc of target
>   set the properties of btn  "Add Reminders" to myArray
> end mouseup
> 
> But, it doesn't work, the target button does change, but it still 
> doesn't look exactly like the source button... 

Look for inheritance differences:different stack, group,card etc.

Cheers

Monte



More information about the use-livecode mailing list