I'm setting up a GUI to display data from an RTD server. I have a series of GroupBoxes with some textboxes to display the data that I'm creating in a 'for' loop.
The problem is that when I receive an update from the RTDServer, I want to be able to send the data straight back to the appropriate textbox, but I can't seem to be able to figure out how to do it.
If I do 'this.groupbox.textbox[j].text = topicvalue.toString()' or something similar, it doesn't like it. Will I have to cycle throught the groupboxes for 'i', then cycle through the textboxes for 'j' and then set the text? Or should I really have the data in some kind of DataGrid view or in an array?
Thanks in advance for any help.
The problem is that when I receive an update from the RTDServer, I want to be able to send the data straight back to the appropriate textbox, but I can't seem to be able to figure out how to do it.
If I do 'this.groupbox.textbox[j].text = topicvalue.toString()' or something similar, it doesn't like it. Will I have to cycle throught the groupboxes for 'i', then cycle through the textboxes for 'j' and then set the text? Or should I really have the data in some kind of DataGrid view or in an array?
Thanks in advance for any help.