get nesting level of controls

Mark Smith mark at
Wed Nov 29 07:20:10 EST 2006

And the second part is easy (I just had to check):

on mouseUp
   repeat with n = 1 to the number of controls in grp "someGroup"
     put the name of control n of grp "someGroup" & cr after cList
   end repeat
   put cList
end mouseUp

You can substitute 'card' for 'group'. I think (not tested  
thoroughly) that to get all the controls in a stack, you'll have to  
do it card by card.



On 29 Nov 2006, at 11:39, Viktoras Didziulis wrote:

> Is there any handler or function to tell what group or card any  
> selected
> control belongs to ? And vice versa - how do we get a list of all  
> controls
> contained within a group or card ?
> Best r.!
> Viktoras
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:

More information about the Use-livecode mailing list