Group members

Richmond Mathewson richmondmathewson at gmail.com
Tue Jul 28 14:41:49 EDT 2009


Devin Asay wrote:
>
> On Jul 28, 2009, at 11:39 AM, James Hurley wrote:
>
>> How do I get a list of all the controls within a group?
>
> The only way I can think of is to loop through them (untested):
>
>   repeat with x = 1 to the number of controls in group "myGrp"
>     put the name of control x of group "myGrp" & cr after tControlList
>   end repeat
>
tried this:

on mouseUp
  repeat with x = 1 to the number of controls in group "GROOP"
    put the name of control x of group "myGrp" into line x of fld "fMEMS"
  end repeat
end mouseUp

and got a serious objection to:

     of control x of group "myGrp" into line x of fld "fMEMS"

snip



More information about the use-livecode mailing list