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 devin_a...@byu.edu wrote:


 On Aug 1, 2014, at 4:02 PM, Mark Schonewille 
 m.schonewi...@economy-x-talk.com
  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 wouldn't require creating a
 copy and deleting the original, but it might look strange when this happens
 and if something goes wrong, you lose your control :-)


 Thanks, Mark. Right after I posted this I started experimenting with that
 technique and it looks promising. I just thought there might be a more
 direct way to do it.

 I just found this from the list in Nabble, from Klaus:

   create button in group foo

 But that won't work for me, because I am taking a snapshot then adding it
 to the group. I think I'll use Mark's suggestion.


 Regards,

 Devin


 Devin Asay
 Learn to code with LiveCode University
 http://university.livecode.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

___
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


Re: Add a control to a group

2014-08-01 Thread Devin Asay

On Aug 1, 2014, at 4:02 PM, Mark Schonewille m.schonewi...@economy-x-talk.com
 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 wouldn't require creating a copy and 
 deleting the original, but it might look strange when this happens and if 
 something goes wrong, you lose your control :-)


Thanks, Mark. Right after I posted this I started experimenting with that 
technique and it looks promising. I just thought there might be a more direct 
way to do it. 

I just found this from the list in Nabble, from Klaus:

  create button in group foo

But that won't work for me, because I am taking a snapshot then adding it to 
the group. I think I'll use Mark's suggestion.


Regards,

Devin


Devin Asay
Learn to code with LiveCode University
http://university.livecode.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


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-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 8/2/2014 00:27, 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 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 strange when this happens and if 
something goes wrong, you lose your control :-)



Thanks, Mark. Right after I posted this I started experimenting with that 
technique and it looks promising. I just thought there might be a more direct 
way to do it.

I just found this from the list in Nabble, from Klaus:

   create button in group foo

But that won't work for me, because I am taking a snapshot then adding it to 
the group. I think I'll use Mark's suggestion.


Regards,

Devin


Devin Asay
Learn to code with LiveCode University
http://university.livecode.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



___
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


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 m.schonewi...@economy-x-talk.com 
wrote:

 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-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Installer Maker for LiveCode:
 http://qery.us/468
 
 Buy my new book Programming LiveCode for the Real Beginner 
 http://qery.us/3fi
 
 LiveCode on Facebook:
 https://www.facebook.com/groups/runrev/
 
 On 8/2/2014 00:27, 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 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 strange when this happens and 
 if something goes wrong, you lose your control :-)
 
 
 Thanks, Mark. Right after I posted this I started experimenting with that 
 technique and it looks promising. I just thought there might be a more 
 direct way to do it.
 
 I just found this from the list in Nabble, from Klaus:
 
   create button in group foo
 
 But that won't work for me, because I am taking a snapshot then adding it to 
 the group. I think I'll use Mark's suggestion.
 
 
 Regards,
 
 Devin
 
 
 Devin Asay
 Learn to code with LiveCode University
 http://university.livecode.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
 
 
 ___
 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


___
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


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 paulhibb...@mac.com wrote:

 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 
 m.schonewi...@economy-x-talk.com wrote:
 
 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-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Installer Maker for LiveCode:
 http://qery.us/468
 
 Buy my new book Programming LiveCode for the Real Beginner 
 http://qery.us/3fi
 
 LiveCode on Facebook:
 https://www.facebook.com/groups/runrev/
 
 On 8/2/2014 00:27, 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 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 strange when this happens and 
 if something goes wrong, you lose your control :-)
 
 
 Thanks, Mark. Right after I posted this I started experimenting with that 
 technique and it looks promising. I just thought there might be a more 
 direct way to do it.
 
 I just found this from the list in Nabble, from Klaus:
 
  create button in group foo
 
 But that won't work for me, because I am taking a snapshot then adding it 
 to the group. I think I'll use Mark's suggestion.
 
 
 Regards,
 
 Devin
 
 
 Devin Asay
 Learn to code with LiveCode University
 http://university.livecode.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
 
 
 ___
 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
 
 
 ___
 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

Devin Asay
Office of Digital Humanities
Brigham Young University


___
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


Re: Add a control to a group

2014-08-01 Thread Dr. Hawkins
On Fri, Aug 1, 2014 at 4:03 PM, Devin Asay devin_a...@byu.edu 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 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