You can use the Value property node to do this. I'll use the LV 7 Directory Hierarchy in Tree Control.vi as an example program. First, make sure the tree control is set to have the proper Selection Mode ("0 or more" or "1 or more") by right clicking on it on the front panel. Then, create a property node for 'value' from the control's reference terminal and set it to write mode. Use this node to set the selected values. For this example, copy the property node into the vi where the tree is built (Directory to Tree.vi) to get the File List names. Wire this to the Value node, and multiple files get selected.
Message Edited by Jonnie 5 on 12-23-2005 08:54 AM
2006 Ultimate LabVIEW G-eek.