RE: What's in a group

2006-02-21 Thread Marielle Lange
Thanks to Ray for bringing this up and thanks to Mark for his perfectly succulent getprops example... 6 years later, and now I get it! how getprops works... who says you can't teach an old dog new tricks? Hi Xavier, Glad to see you are now taking a serious interest in getProp. To answer the

What's in a group

2006-02-20 Thread Ray Horsley
Really basic question which I should know: How do I get a list of all objects in a group? Thanks, Ray Horsley Developer, LinkIt! Software ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard

RE: What's in a group

2006-02-20 Thread MisterX
To: Metacard List Subject: What's in a group Really basic question which I should know: How do I get a list of all objects in a group? Thanks, Ray Horsley Developer, LinkIt! Software ___ metacard mailing list metacard@lists.runrev.com http

Re: What's in a group

2006-02-20 Thread Mark Schonewille
Hi Ray, Use the following scripts as follows: put the objects of grp 1 put the objectIDs of grp 1 Mind line wraps. getProp objects repeat with x = 1 to number of controls of the target put the name of control x of the target return after myList end repeat sort myList return

Re: What's in a group

2006-02-20 Thread Mark Schonewille
I forgot to add that you can put these scripts (see previous e-mail) into the stack script or in a stack in use and they will work for every object in the stack, including card and the stack itself. Best, Mark Mark Schonewille wrote: Hi Ray, Use the following scripts as follows: put the

RE: What's in a group

2006-02-20 Thread MisterX
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Horsley Sent: Monday, 20 February, 2006 19:58 To: Discussions on Metacard Subject: Re: What's in a group Thanks to all. The only way I was able to come up with was to ungroup the group, get a list of the selected objects, and then group

Re: What's in a group

2006-02-20 Thread Mark Schonewille
Hi Scott, There is hardly any difference. I suspect even that getprop handlers and functions return their result in exactly the same way. The advantage of the property approach might be that you really don't need to think about what the target may be. The function needs a quoted string as