Hi All
Hope you are all well!
I am a little stuck with a particular application I am developing within Visual Studio and hope someone can help.
What I would like to know is how can I populate a textbox whose name is derived from the text from another textbox.
For example, I have a textbox called M1Y, when the user clicks on this, the text of textbox1 becomes "M1Y" (I have this working). What I want the programme to then do is populate the textbox derived by MID(textbox1,1,2) with a value I specify.. in the example above:
I want MID(textbox1,1,2).text = 6 (which basically equates to MY.text = 6). I have lots of textboxes on my form and I don't want to put a "on click" statement on each one.
Hope this makes sense and thank you in advance.
Hope you are all well!
I am a little stuck with a particular application I am developing within Visual Studio and hope someone can help.
What I would like to know is how can I populate a textbox whose name is derived from the text from another textbox.
For example, I have a textbox called M1Y, when the user clicks on this, the text of textbox1 becomes "M1Y" (I have this working). What I want the programme to then do is populate the textbox derived by MID(textbox1,1,2) with a value I specify.. in the example above:
I want MID(textbox1,1,2).text = 6 (which basically equates to MY.text = 6). I have lots of textboxes on my form and I don't want to put a "on click" statement on each one.
Hope this makes sense and thank you in advance.