Hi Terry,
Why don't you simply delete the group and create a new one?
If you want to have a list of controls of a group, card or stack, you
can use a repeat loop in a getProp handler:
getProp allControls
repeat with x = 1 to the number of controls of the target
put the long id of control x of the target & cr after myList
end repeat
return char 1 to -2 of myList
end allControls
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 3/8/2014 13:14, Terence Heaford wrote:
I have a group to which I add objects.
create field in group “myGroup”
put the id of the last fld into tID
I then have a property of the group where I store the id called uObjectList
Then at some point I delete all the objects in uObjectList to clear out the
group.
Is there a simpler way to do this?
Is it possible to get a list of objects contained in a group?
Thanks
Terry
_______________________________________________
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