[Gambas-user] Parsing through all controls of a form

Rob Kudla sourceforge-raindog2 at ...94...
Thu Jan 19 19:14:45 CET 2006


On Thu January 19 2006 09:04, Benoit Minisini wrote:
> I just finished to implement the pseudo-collection
> "Window.Controls", that will allow you to recursively
> enumerate all controls on a form.

Cool, so John, this means you'll be able to put this in your 
Form_Open:

FOR EACH ctrl IN ME.Controls
	ctrl.Tag = NEW Collection
NEXT

And then you'll just be able to treat all your controls' Tag 
properties as collections without thinking about it.

Thanks Benoit :)

Rob




More information about the User mailing list