Hi, I am facing problem with printing array values in textfield. Printing values in one line. Tried with split also but no use.
What do you mean by "no use"? Did you get no output? Was the output just not in the right format?
I want the output in multi line and in a neat format. Please some one help me in this.
Can you provide info (or sample versions) on the what the expected content of the array is and what your desired output should look like?
Based on the little bit of code that you provide, I'm guessing that you're using something like Net::Telnet to get "output" from a telnet server and then print that "output" in a part of a Win32::GUI window. Is that correct? If so, my first step of debugging would be to ensure that my code is getting what I thought that I should be getting from the telnet server. Once that was confirmed, then I would add some code to set a variable to contain the formatted string that I wanted to be displayed in the Win32::GUI window and use that to set the text field's contents to that variable's value.
Also, are you sure that you want to use AddTextField? In my personal experience, I found it easier to create all of the elements of the window when the window is created and then later modify those elements.