[Gambas-user] How to set name of control

Jussi Lahtinen jussi.lahtinen at ...626...
Fri Apr 11 00:45:45 CEST 2014


What are you trying to achieve?


Dim hTextBoxes As New TextBox[10]

For ii = 1 To 3
hTextBoxes[ii] = New TextBox(Me) As "Textbox" & CStr(ii)
Next


There is also Name property if you want to change name of existing
textbox...


Jussi



On Thu, Apr 10, 2014 at 11:58 PM, abbat81 <abbat.81 at ...787...> wrote:

>
> How to do this:
>
> Dim i as integer
>
> For i = 1 to 3
>   Textbox[i].Text = i ' Textbox1.Text, Textbox2.Text and Textbox3.Text
> Next
>
> Thanks
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/How-to-set-name-of-control-tp46134.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