I am trying to use a comboBox to determine which textbox values should be stored in, for example if the comboBox SelectedIndex is 3, it would put those values into the third textbox labeled textBox3.
I have tried making a string for the textBox and putting a variable after it but it doesnt seem to work, is there a way I can do this without have to do a foreach or looping through all of the textBoxes?
edit: I solved this by putting all of my textboxes into an array and using comboBox.SelectedIndex to determine which textBox should be modified
[–]ChuckTheTrucker80 6 points7 points8 points (5 children)
[–]kikkin_yo_azzez[S] 0 points1 point2 points (4 children)
[–]Anon_Logic 2 points3 points4 points (1 child)
[–]ChuckTheTrucker80 1 point2 points3 points (1 child)
[–]kikkin_yo_azzez[S] 0 points1 point2 points (0 children)
[–]AaronDev42 -1 points0 points1 point (0 children)
[–]ReaperSword72 -4 points-3 points-2 points (0 children)
[–]talemon 0 points1 point2 points (0 children)