09-30-2013 06:54 AM
I have a Multicolumn Listbox. In the first row, I have a symbol (the diamond). Configuration of the Listbox is done via the frontpanel editor. Data is inserted programmatically, as well as the size, visibility and colors of the symbols are set programmatically. Basically, everything works fine. BUT when I insert more than 32 rows into the Listbox, there are no symbols on rows 32+.
I did not find any signs that the number of rows or number of symbols is set to 32 anywhere in the code or on the frontpanel editor.
What could be the reason for this strange behavior?
09-30-2013 07:35 AM
Can you show us a simplified VI that demonstrates the problem?? Thanks!
10-01-2013 04:37 AM - edited 10-01-2013 04:48 AM
Hello mibeer,
I've manually entered more than 32 symbols into a Multicolumn Listbox and I could see them. You have to initialize the list fields, though. That might be the reason why you don't see the symbols.
Do you use a loop to enter the symbols? Do you initialize the Listbox entries in the same loop or are the loop iterations different?
With regards
AndGar
10-01-2013 06:54 AM
Finally, I solved the problem by just setting a symbol for each populated cell by using the ItemSyms property in a property node.
Thanks for the answers anyway.
10-01-2013 06:58 AM
@mibeer wrote:
Finally, I solved the problem by just setting a symbol for each populated cell by using the ItemSyms property in a property node.
So, what exactly did you do before?
10-01-2013 08:02 AM
Before, the symbol was choosen non-programmatically in the frontpanel editor. The elements where then added programmatically by applying a string array to the property node ItemNames. Nothing more. And I definitely not use the number 32 to initialize anything. So this must come from LabVIEW internally.
So the strang behaviour could probably be reproduced by just adding programmatically a random number of entries to a multicolumn listbox upon click of a button.
10-01-2013 08:26 AM
Dear mibeer,
how does your string array look like? It would be nice if you could post your VI.
With regards
AndGar
10-01-2013 12:26 PM
mibeer wrote:So the strang behaviour could probably be reproduced by just adding programmatically a random number of entries to a multicolumn listbox upon click of a button.
Well, guessing does not really belong here.
If you suspect a LabVIEW bug, wire up a small example that demonstrates the problem and we can immediately eliminate the "probably" and get a definite answer instead. We like facts better! 😄
Please do so! Thanks.