09-25-2014 04:35 AM
I have a VI where i have used a tree control from the modern pallate, I need to increase the space between tree items. and should be maintained even if I programatically Add or Remove tree items
PS: "AutoRowHt " Property doesnt seem to help here
Solved! Go to Solution.
09-25-2014 07:34 AM - edited 09-25-2014 07:34 AM
Unfortunately I didn't have time to play around with whether or not this propgates to new programmatically created entries in the tree control, but if not, you could always just re-run this section of code (or specify the specific row since you'll know the index of the inserted element).
Specifying -2 into the Row Number property will specify the change is to be made for all rows in the tree.
09-26-2014 12:11 AM
Thank you 🙂
I shall build my code around this logic 🙂
12-03-2025 11:26 AM
Necro post but this is the first result from Google. Just commenting to say the above can be used with the property "ActiveItem.Tag" as well.
(I'd incorrectly assumed that the ActiveItem.Row property referred to visible row, but it refers to all rows, whether or not they're visible.)