Looping over all controls

Ben Fisher jamon.ben at gmail.com
Sun Feb 18 18:03:41 EST 2007


Thanks.

This works,

repeat with x=1 to the number of controls in this cd
    put word 1 of the name of control x into controltype
    if controltype is "button" then
...
else if controltype is "field" then
...
end if
  end repeat

> look in the dictionary for "controls"

> Jim Ault
> Las Vegas



More information about the use-livecode mailing list