Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Add Custom Symbol to Tree Control

by Active Participant Kristen_H. on ‎12-30-2009 03:43 PM


This code demonstrates how to programmatically add a custom symbol to a tree control.  It also shows to optional steps of resetting the tree control's array of symbols to the default built in symbols as well as retrieving the custom symbols from the array and displaying the symbol.

Steps to Complete

Download and save the VI as well as the flower.bmp file.  Specify the flower.bmp's path in the path control on the front panel of the VI. Run the VI.

Additional Notes

Related to KnowledgeBase 2WMBER1W: How Do I Load and Use Custom Symbols for My Tree Control Items?  (http://digital.ni.com/public.nsf/allkb/89A75D98771F2FB686256F350055EB3A?OpenDocument)

Attached VI was written in LabVIEW 2009.