lopping through controls in a group

Pete pete at mollysrevenge.com
Sun Apr 24 14:07:55 EDT 2011


repeat with count=1 to the number of controls in group <yourgroupname>
  --do stuff with control count of group <yourgroupname>
end repeat

Might be more efficient o put the count of controls in the group into a
variable then reference the variable in the repeat statement

Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Sun, Apr 24, 2011 at 10:51 AM, Todd Geist <todd at geistinteractive.com>wrote:

> Hello,
>
> I am looking for a way to loop through controls in a group. This seems like
> this should be easy to do but I can't find anything in the docs.  Can
> somebody point me at somer examples or perhaps post a snippet of code?
>
> Thanks
>
> Todd
>
>
>
> Todd Geist
> ------------------------------
> geist interactive <http://www.geistinteractive.com>
> 805-419-9382
> _______________________________________________
> 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