[Gambas-user] inquiry about grouping

ron ronstk at ...239...
Thu May 11 08:22:12 CEST 2006


On Thursday 11 May 2006 07:56, Erwin Pogz wrote:
> 
> Hello guys,  If im having a group ug TextBox named "txtGroup"  each text box named: txtBox1 txtBox2 txtBox3 ... upto txtBox100  how can i loop on each control to set the forecolor property? Or is there any quick way to do it?  Best Regards, Erwin
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
Try this 

dim ctrl as control

for each ctrl in txtGroup
  ctrl.forecolor=red
next

(not tested, this or something like this should work)

Ron




More information about the User mailing list