What's in a group
    Scott Rossi 
    scott at tactilemedia.com
       
    Mon Feb 20 12:31:40 CST 2006
    
    
  
Recently, Ray Horsley wrote:
> Really basic question which I should know:  How do I get a list of all
> objects in a group?
Here's one way:
on mouseUp
  answer listControls(long name of group 1)
end mouseUp
function listControls pGroup
  repeat with C = 1 to number of controls of pGroup
    put long name of control C of pGroup & cr after tList
  end repeat
  return tList
end listControls
There may be a shorter-code way but the above should work.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
    
    
More information about the metacard
mailing list