Re: Add a control to a group

2014-08-02 Thread Peter Haworth
Hi Devin, Another way might be: create image in group export snapshot.. to it Pete lcSQL Software On Aug 1, 2014 3:27 PM, "Devin Asay" wrote: > > On Aug 1, 2014, at 4:02 PM, Mark Schonewille < > m.schonewi...@economy-x-talk.com> > wrote: > > > Hi Devin, > > > > Usually I copy t

Re: Add a control to a group

2014-08-01 Thread Dr. Hawkins
On Fri, Aug 1, 2014 at 4:03 PM, Devin Asay wrote: > Thanks, Paul and Mark. As usual, there are many ways to skin that cat. > Bu very few cats that like getting skinned . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing lis

Re: Add a control to a group

2014-08-01 Thread Devin Asay
Thanks, Paul and Mark. As usual, there are many ways to skin that cat. Devin On Aug 1, 2014, at 4:41 PM, Paul Hibbert wrote: > Hi Devin, > > Yet another approach… > > create invisible image "snapShot" in group "myGroup" > export snapshot from group "or_Whatever" to image "snapShot" > s

Re: Add a control to a group

2014-08-01 Thread Paul Hibbert
Hi Devin, Yet another approach… create invisible image "snapShot" in group "myGroup" export snapshot from group "or_Whatever" to image "snapShot" set the visible of img "snapShot" to true Paul On 2014-08-01, at 3:36 PM, Mark Schonewille wrote: > Hi Devin, > > You could export a sna

Re: Add a control to a group

2014-08-01 Thread Mark Schonewille
Hi Devin, You could export a snapshot to a variable, create an image object in the group and set the text of the image. export snapshot from rect myRect to myPicture as PNG create image "New Image" in grp "Your Group" set the text of it to myPicture -- Best regards, Mark Schonewille Economy

Re: Add a control to a group

2014-08-01 Thread Devin Asay
On Aug 1, 2014, at 4:02 PM, Mark Schonewille wrote: > Hi Devin, > > Usually I copy them and then I delete the original: > > copy btn id x to grp y > delete btn id x > > Probably you could also write a script to cut the control, edit the group and > paste the control in the group. This would

Re: Add a control to a group

2014-08-01 Thread Mark Schonewille
Hi Devin, Usually I copy them and then I delete the original: copy btn id x to grp y delete btn id x Probably you could also write a script to cut the control, edit the group and paste the control in the group. This wouldn't require creating a copy and deleting the original, but it might look

Add a control to a group

2014-08-01 Thread Devin Asay
I know I've seen this before, but I can't find it now. You can group objects with the group command: group obj a and obj b But how do you add an object to an existing group (through scripting not in the IDE)? Devin Asay Learn to code with LiveCode University http://university.livecode.com _