Looping over all controls
jamon.ben at gmail.com
Sun Feb 18 17:09:31 EST 2007
Is there a convenient way to loop over all controls in a card or group?
I could keep a list of IDs, adding and deleting as necessary, but this
isn't so simple.
In the past I have used:
repeat with x = 1 to the number of btns in this cd
if there is a btn x then
--Do something with this btn
But it seems error-prone and not the best way.
More information about the Use-livecode