Group functions

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Group functions

Post by shaosean » Thu Jul 11, 2013 11:18 am

The changes would be better off in the engine, using native controls, but until then, you could write what you need and not have to worry about it..

atout66
Posts: 266
Joined: Wed Feb 02, 2011 12:31 pm
Location: France

Re: Group functions

Post by atout66 » Sun Apr 20, 2014 3:30 pm

You surely all of you know that already, but as a beginner I found that by using the <Project Browser>, I can move object by drag and drop from one group to an other.
That was my 2 cents :wink:

Kind regards, Jean-Paul.
Discovering LiveCode Community 6.5.2.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3481
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Group functions

Post by richmond62 » Thu Jul 04, 2019 9:08 am

Gosh, it's 2019 . . .

. . . trying to shove an image into a group . . .

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2094
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Group functions

Post by [-hh] » Thu Jul 04, 2019 9:44 am

Not worth an own command:

Code: Select all

on mouseUp
  cut image "myImg"
  start editing background "myGroup"
  paste
  stop editing background "myGroup"
end mouseUp
or even shorter (by Jean-Marc, see above):

Code: Select all

on mouseUp
  put the long id of img "myImg" into lid
  copy image "myImg" to background "myGroup"
  delete lid
end mouseUp
For drag and drop between groups there is moreover (by Michael K.)
https://forums.livecode.com/viewtopic.p ... 58#p178858
shiftLock happens

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3481
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Group functions

Post by richmond62 » Thu Jul 04, 2019 6:45 pm

Copying a control into a group is NOT moving it, it is copying it.

Logic, old bean!

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2094
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Group functions

Post by [-hh] » Thu Jul 04, 2019 7:07 pm

After copying and then deleting the original it is "shoved into the group" ... is your pain (located wherever) now gone?
shiftLock happens

Klaus
Posts: 11112
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Group functions

Post by Klaus » Thu Jul 04, 2019 7:56 pm

[-hh] wrote:
Thu Jul 04, 2019 7:07 pm
After copying and then deleting the original it is "shoved into the group" ... is your pain (located wherever) now gone?
Hardly! :D

Post Reply

Return to “Feature Requests”