[Gambas-user] How to set name of control

Fabien Bodard gambas.fr at ...626...
Fri Apr 11 12:41:18 CEST 2014


Use a collection
Assign existing textboxes like that:

Mycol["2"]=textbox2

Then call the textbox like :

Mycol[myindex].text="Toto"
Le 11 avr. 2014 11:23, "abbat81" <abbat.81 at ...787...> a écrit :

> I need not each of control but I need to set text to some of each controls,
> for example Textbox2.text.
>
> So, I have a digit from property of other control "2"
>
> How can I set a etxt to Textbox2.Text?
>
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/How-to-set-name-of-control-tp46134p46144.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list