[Gambas-user] Control arrays

Nelson Ferraz nferraz at ...184...
Mon Jul 21 04:45:44 CEST 2003


> > for i =1 to 10
> > 	label(i).forecolor=vbGreen
> > next
> 
> No control arrays, but controls can be put in the same group. 

How do you iterate over controls?

It would be interesting to treat containers as collections, allowing
constructs like:

  FOR EACH f IN Form
    PRINT (f.name)
  NEXT

It doesn't seem to work, though.

[]s

Nelson





More information about the User mailing list