Adding to a group

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Adding to a group

Post by bjb007 » Wed Mar 12, 2008 3:37 am

Is there a way to add an item to
an existing group without first
un-grouping?

Had a strange experience trying to
do this - lost a couple of objects
way off-screen, couldn't retrieve
them and had to "make" them again
and delete the originals.
Life is just a bowl of cherries.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Wed Mar 12, 2008 3:43 am

for loosing stuff:

Code: Select all

set the loc of image "I'm lost" to 0,0
set the loc of field "I'm also lost" to 0,0
for putting stuff into groups:

Code: Select all

copy button "relevant name" to group "name of a group"
set the name of button id it to "relevant name 2"
delete button "relevant name"
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Adding to a group

Post by bjb007 » Wed Mar 12, 2008 4:15 am

Thanks BvG.

I assume I could do this in the "Message Window"
(which I think should be called "Command Window"
to avoid confusion with Win msg windows).

Except that I haven't really got the "Message Window"
figured out. Seems everything I put in there
either does nothing or returns an error.

Note to self - "Must try harder"
Life is just a bowl of cherries.

Post Reply