The example demonstrates how to add an image as a symbol to a tree control.
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.
LabVIEW 2012 Base Development System (or compatible)
No hardware is necessary to use this example VI
Steps to Implement or Execute Code
Open the attached file
Run the VI
Select the desired Symbol Image
Click 'Add' to add the symbol with the Left Cell String and the Child Text to the Tree control
Click 'Get Symbol Picture' to display the Symbol Picture in full resolution
**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.**