On 3/13/11 7:45 PM, Peter Haworth wrote:
I know that was suggested and I can't remember why it didn't work for
me - I think it may have been because the group may not exist. Or
maybe it's because I'm copying the control into the group, not
creating it?
For copying, use this:
copy button "myButton" to grp "mygroup" of cd "thatCard"
If you no longer want the original, you'd need to delete it after that:
delete button "myButton" of cd "thatCard"
If the group doesn't exist then you'd need to create one first. You can
do that remotely too:
create grp "new group"
place grp "new group" onto cd "thatCard"
remove grp "new group" from this cd
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.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