I have a form with many buttons.

I want to be able to set the text property of the textbox at runtime by
string.

("Button" & i).Text = "Hello"  'Of course this doesn't work...how do i
replicate this correctly

i a variable

eg if i=1  then i want the code to do   button1.text="Hello"
if i=2  then i want the code to do button2.text="Hello"


any suggest

Reply via email to