07-28-2020 02:12 PM
In the attached LabVIEW 2018 SP1 application VI, I use Tree Control for both "Controlled Tree Control" and "Default Tree Control".
When an item is moved from "Controlled Tree Control" to "Default Tree Control", it is dimmed. How do I restore it after removing it from "Default Tree Control" ?
Solved! Go to Solution.
07-28-2020 02:51 PM
You don't want to add it to the end. You want to find it in the original control, then set the property for it back to Enabled.
07-28-2020 03:13 PM
Hello RavensFan (Knight of NI),
In the property node of "Controlled Tree Control", how do I replace "Edit Tree Items: Add Item to End" with "the original control" before setting the property back to Enabled ?
07-28-2020 07:22 PM
Get rid of the add item to end.
Take the item from the 2nd list, and search for it in the first.
Set that item to the active item and wire a True to the enable.
Almost all the pieces are already there in the VI. It is just doing the opposite, and perhaps adding the search function to loop through the first list until you find the matching item to re-enable.
07-29-2020 10:10 AM
Hello RavensFan,
Thanks for your instructions. The revised LabVIEW 2018 SP1 VI works {see attachments}!