I've got a problem with the property node function 'Displayed Items'. When I restart my program, it will delete all items within the tree control with the invoke node function 'Edit Tree Items: Delete'. After that it will use the property node function 'Displayed Items' and I would expect an emtpy array as a result, because the tree control is shown empty. But i will get the items from the former run of the program. As a workaround I insert an invisible element past the deletion. But I think this is a dirty way to do it. Anyone there who knows a better way?
[SRQ 211477] In LabVIEW 7.1 I wasn't able to reproduce this behavior. I have used a modified version of the shipping tree control example (see attachment). If you can reproduce the behavior in 7.1 please provide a small example.
Hello Jochen, you are right, I should have provided an example before. So I extracted the relevant parts of my program to an example. I'm working with LabView 7.0, therefore I can't say, if it's doing the same at 7.1.
I was able to reproduce the behavior with your example in LabVIEW 7.0 but not in 7.1. I haven't found an explicit entry in our developers' database about this problem but it looks like as a side effect one of the improvements for the tree control that were introduced in 7.1 fixed this problem.