I have a few objects on a form that all have the same name apart from a number on the end. Textbox1, Textbox2,.. etc.
I need to be able to use a string value to substitute the object name 'textbox1'.
I can build the string name easily but then replacing it in a refenece (eg form1.textbox1) is the bit that I am stuck on.
Anyone have any idea how I would do this
I need to be able to use a string value to substitute the object name 'textbox1'.
I can build the string name easily but then replacing it in a refenece (eg form1.textbox1) is the bit that I am stuck on.
Anyone have any idea how I would do this