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.