From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I save the content of the Tree Control to a file?

Hi!
I want to get the content of the Tree Control and save it to a file. And,
the file can be read and recreated a tree. Can I do it?

Thanks for your suggestion!

If you offer me examples, I will appreciate you very much !


0 Kudos
Message 1 of 2
(2,849 Views)
You could use SavePanelState and RecallPanelState to take a snapshot of the control and then restore the control to the same state of the snapshot. I've attached a simple program that shows one way of doing it.

- jared
0 Kudos
Message 2 of 2
(2,843 Views)