newbee easy question

sosimple

Member
Hi. I am trying many hour to do this:
I have this: mybutton.Left = mybutton.Left + 20 which
works ok. I want to do the same but with a variable counter to do something like this:

I have 10 buttons: mybutton1 .....mybutton10

for counter =1 to 10

mybutton( counter).Left = mybutton( counter).Left + 20

next

Of course this, doe snot work . How must i write it? I have try many ways, i cant find it.. Thanks ,
 

sosimple

Member
Thanks very much man, you dont know how many different thinks i have try..
I almost have found it, i have wright
Control(mybutton & counter).Left= ...
but it wanted the "" .... Thanks again.
 
Top