get nesting level of controls
dave at looktowindward.com
Wed Nov 29 13:32:19 EST 2006
On 29 Nov 2006, at 15:00, Scott Rossi wrote:
> Recently, Viktoras Didziulis wrote:
>> Is there any handler or function to tell what group or card any
>> control belongs to ?
> This brings up a related point: when you have a group that contains
> nested groups, why does the following generate a "can't find
> get name of last group of group myCoolGroup
> The workaround for me has been to use:
> put number of groups of group myCoolGroup into N
> get name of group N of group myCoolGroup
> It seems Rev is unable to deal with "last" when referring to nested
> Because... ?
Does group -1 work?
All the Best
More information about the Use-livecode