09-18-2015 06:53 PM
Hello guys,
the only way I know so far to define a custom symbol in listboxes is using the Invoke node, so I need to execute my code in order to store an icon in the control, once it's done I can delete my read PNG file, invoke node and keep coding. Afterward, I can assume the custom symbols are stored in the control and display them properly by setting an index in the property node...
Is there a way to do this without running the code? Just using "Import from clipboard" or any such thing that could be done at Edit-Time using the LabVIEW menus?
Cheers,
Jimmy
Solved! Go to Solution.
09-21-2015 02:35 AM
I don't think there's anything built in, but you can write a tool which will do this. If you have LV 2015, the easiest thing would be to write a right click menu plugin which can probably even let you manipulate the specific row directly. In older versions you can use a Quick Drop shortcut and open a separate dialog for managing all the rows of the control.
I seem to remember already seeing such a plugin for one of the frameworks, but I don't remember the details. I would try looking through the QD and RCM groups in the communities.
09-21-2015 08:44 AM - edited 09-21-2015 08:52 AM
Oh sure there is a way, using an invoke node to set the image and symbol, then set the symbol. Attached is an example saved in 2011.
EDIT: Sorry re-read the post and realize this isn't what you are looking for.
Double EDIT: But what you might want is this right click menu that helps set symbols.
https://decibel.ni.com/content/docs/DOC-43211
The source was built off of this which could be modified to run from the tools menu in older LabVIEW versions
https://decibel.ni.com/content/docs/DOC-25938
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord