Adding Custom Glyphs to List Controls in LabVIEW

Updated Apr 29, 2024

Reported In

Software

  • LabVIEW

Issue Details

Is it possible to add custom glyphs to tree controls and single/multicolumn listboxes in LabVIEW?

Solution

Custom glyphs can be added to trees and listboxes using the Custom Item Symbols:Set To Custom Symbol method. You can use this method with any image files, including the LabVIEW-specific icons in the following folder:

[LabVIEW 20xx]\resource\Framework\Providers\Icons

The following are examples for the different controls:

  • Tree Control

image.png

Tree Control.png
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 
  • Listbox


    image.png
Listbox.png
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 
  • Multicolumn Listbox

image.png

Multicolumn.png
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 

Additional Information

To ensure symbols are visible on the control, right-click the control and select Visible Items>>Symbols.