Page 1 of 1

Moving through the controls of a group

Posted: Thu Dec 28, 2006 10:29 am
by brainois
Hello,

I would like to move through the controls of a group. Is there a control structure like this:

Code: Select all

repeat for each item of MyGroup
-- do sothemeing on each item...
end repeat
regards

François

Posted: Thu Dec 28, 2006 10:42 am
by Mark
François,

repeat with x = 1 to number of controls of grp "Group Name"
-- do something with control x of grp "Group Name"
end repeat

You can also use the number of buttons, number of fields, etc.

Best,

Mark