To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to add an image as a symbol to a tree control.
Description
The example 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.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
Knowledgebase: How Do I Load and Use Custom Symbols for My Tree Control Items?
http://digital.ni.com/public.nsf/allkb/89A75D98771F2FB686256F350055EB3A?OpenDocument
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
That link from the post - http://digital.ni.com/public.nsf/allkb/89A75D98771F2FB686256F350055EB3A?OpenDocument - is not working anymore...