09-11-2012 06:03 PM
Hi, is it possible to pass a 1D array of string data to a listbox for displaying status. I would like to turn the row selection off as well, is this possible via a property node. I need to keep track of status data in my frontpanel and I thought using a listbox would be nice since since it has scroll bars as well. Maybe there is a better way to do this, not sure. I'd prefer not to just use a string control since I need scrollbars and I need to monitor the size of data in the status window for memory purposes.
Thanks in advance.
09-11-2012 08:00 PM
Have you considered using a table instead? It displays a 2-D array of strings and might be more appropriate for your use case than a listbox.
09-11-2012 11:30 PM
QRP wrote:
Hi, is it possible to pass a 1D array of string data to a listbox for displaying status.
Yes,The ItemNames property is a string array and this is what you write to populate the listbox. Just write click on the listbox and select Create>Property Node. Right click on the property node select Properties>Item Names. Right click on it again and select Change to Write.