07-01-2021 01:24 PM
Attached is my LabVIEW 2019 SP1 (64-bit) tree control application VI. Instead of using Ctrl or Shift key to select hundreds of Item Codes to either add or remove, I just click on the "Select All" button, then all Item Codes are highlighted in blue, ready for addition or removal.
How do I implement this button?
Solved! Go to Solution.
07-01-2021 01:50 PM
You could implement this with the two tree properties "All Tags" and "Value". Both are type String[] so you can just read the All Tags property and feed the output value into the Value property which will select everything (for a tree the value represents what is selected).
07-02-2021 10:14 AM
Thanks for your help, Jacobson,
Attached is the solution.
07-06-2021 02:22 PM
I made a set of code for doing multi tree and listbox selection with the checkbox glyph here.
In it I have a right click menu for Select All/Select None, and Invert Selection.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord