From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-08-2018 03:50 AM
I am using a listbox control in my VI
I am populating it with strings that are created within the VI
My problem is, if the string length is too long I cannot see it in the listbox, it runs out of width.
When I right click on the control I can select multi line input but this only seems to work if I wanted to manually enter.
How I can I make it 'wrap'?
Thank you in advance
Lee
02-08-2018 03:56 AM - edited 02-08-2018 03:57 AM
02-08-2018 04:05 AM
Good morning, thank you for your quick reply
Yes from your example, very straightforward.
My problem is that the contents of the list box are saved to a file which is then read back in another VI and decoded and so I didn't want to introduce any further elements into the inputted string
02-08-2018 04:22 AM
02-08-2018 04:30 AM
If I use a line feed constant it gives me the desired look in the list box but as u can see, I also save this to a text file and I would prefer it was all on the one line?
02-08-2018 04:37 AM
02-08-2018 04:42 AM
Of course yes, thank you
Can I ask one more question on listboxes. Am I able to add a border to each row so that it shows a clear split between each row. I couldn't see how to do that
02-08-2018 04:43 AM
Oops found it ... horizontal lines ....
Many thanks for your help
Lee
02-08-2018 11:20 AM
Please mark the solution and kudoes are a great way to say "Thanks for the help."