Recursive Object Function?

dunbarx at aol.com dunbarx at aol.com
Sat Aug 27 01:39:51 EDT 2011


I think you should be able to use the "owner" property in a repeat loop, mapping all the controls on a card to a group if they are, er, grouped, and to the card if they are not.


Craig Newman





-----Original Message-----
From: Bob Sneidar <bobs at twft.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Fri, Aug 26, 2011 9:27 pm
Subject: Re: Recursive Object Function?


It also comes to mind that the application browser does this sort of thing. 
Also, doesn't jerrys remo do something like this?

Sent from my iPad

On Aug 26, 2011, at 10:16 PM, Scott Rossi <scott at tactilemedia.com> wrote:

> Anyone have a script that will list all controls/subgroups of a group,
> organized by groups?  Ex:
> 
> groupA
>    objA1
>    groupB
>       objB1
>       objB2
>    groupC
>       objC1
>       objC2
>    objA2
> 
> Am trying to write one here (reinventing the wheel?) but am getting a bunch
> of duplicate listings in the result.  I'm missing something...
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list