09-04-2012 01:14 PM
I can't seem to show symbols in the second column of a multicolumn listbox. I tried some example code I found on NI.com and there seems to be something unique about the multicolumn list box they used in the example. If I put down a new one it doesn't work. What's the trick?
09-04-2012 01:16 PM
Can you show us what is the code you are using and also your work? (2009 version please)
09-04-2012 01:21 PM
Did the example use Row Headers? That's the only thing that makes sense to me.
09-04-2012 01:22 PM
09-04-2012 01:32 PM
Here are my findings from my quick playing around.
09-04-2012 01:36 PM
The following statement was copied from the LabVIEW Help topic "Adding Symbols to Listboxes and Tree Controls":
Note In a multicolumn listbox, LabVIEW adds the symbol to the first column.
In my own experimentation, I havent found a way to add symbols to the other columns. Is it possible that the examples you've found are really just adding symbols into the text itself? I agree with the previous post, we'll need to see the code you're working with.
------
Matt Kirk
Inventor of ImageJVI
09-04-2012 01:39 PM
I am assuming you are referring to this example: Inserting Images in a Multicolumn Listbox in LabVIEW 8.x. For a multicolumn listbox, that only works for the first column. If you want symbols on other columns, then one way to do this is to set that column to a font that uses symbols, like the example for showing folders that I showed.
09-04-2012 01:46 PM
Nope, I am using this example.
https://decibel.ni.com/content/docs/DOC-14549
I edited this code and added symbols to a third column and it only shows up in the control 'MC Listbox'.
09-04-2012 02:16 PM
That example appears to use a custom control, rather than a standard multicolumn listbox. Without investigating it, I'm not sure how it was done.
09-05-2012 08:17 AM
@DougFerguson wrote:
I can't seem to show symbols in the second column of a multicolumn listbox. I tried some example code I found on NI.com and there seems to be something unique about the multicolumn list box they used in the example. If I put down a new one it doesn't work. What's the trick?
Hi Doug,
Can you clarify what you are trying to do? You mentioned that you modified the example. What modifications were made? Can you please attach your code?
Thanks,