Hello everyone,
I recently used the TreeSelectionSingle and noticed a weird behavior when handling the embedded Tree-Controls events.
The Value-Change event did fire, but the symbols were not changed. With Highlight execution they were.
So I did a little deep dive and came across the "Toggle Selection.vi" of the TreeSelectionSingle.lvclass.
The parent VI (which does not get called!) uses the VI "Value Change Notice.vi" at the end, which triggers the Value-Change event of the Tree-Control again after updating the symbols.
Is this fixable?
Since I needed some extra functions, I already had a Child-Class created and just did a little override.
Also a little side note:
- The Tree-Controls do have a property called "Allow Selection of Parent Items" that only allows selection of Items with "Active Item:Child-Only?" being TRUE.
- It would be nice if this functionality would work with Q-Controls too.