10-03-2006 11:38 AM
10-03-2006 11:41 AM
Yes, you use the coordinates, along with the following VI: vi.lib\tree\Tree Point Converter.llb\Point to Row-Col.vi. Not that this VI was converted into a method of the Tree control in LabVIEW 8.0 and later.
Good luck,
-D
10-04-2006 04:38 AM
10-12-2006 01:14 PM
What about de-selecting all items programmatically??
I have it set to 0 or 1 item, but no obvious way to deselect an item in the tree.
Thx
10-12-2006 02:15 PM
For a multi-select tree, you can wire an empty array of strings to a local variable (or Value property) of the tree to clear its selection. For a single-select tree, an empty string should do it. I just verified this in LabVIEW 8.2, I'm sure it works in previous versions.
-D
10-12-2006 05:01 PM
You are correct, although at the time it was not working for me.
What I had done though was to set the tree from a control to an indicator and back.
This fixed the problem. But you are correct, setting it to a null string does de-select a single or 0 select tree.