On 13/12/13 09:30, Charlie wrote: > Hi,I want to clear multiple *Textboxes* and using the following code seems > inefficient: -*Textbox1.text = ""Textbox2.text = ""Textbox3......*Is there a > better way?I have looked at "Collections" and "For Each" commands but I > can't work out if this is the correct method.Thanks for any help.Charlie. How many textboxes are we talking about. You would loop through the container.children, testing if the control is a textbox and clear them as you go perhaps
Regards richard > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/How-do-you-deal-with-multiple-objects-Textboxes-tp44646.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user