VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Save/Load Treeview with Propertybag

by CptnVic (6 Submissions)
Category: Miscellaneous
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Update: Ver 1.0.1 29 Feb. 2008
Drop modTVpropbag.bas into your project and you can save and restore treeviews with 2 simple calls. This is as close to "plug-n-play" as it gets... even a very new newbie can make this work in minutes.
I include a demo project for your perusal.
Supports multiple treeviews (easily modified to work with other controls). Saves and restores:
Nodes/child nodes, Node.Key, Node.Tag, Icons, Expanded state, sorted state, checked state. What else could you want for nothin'?
Version 1.0.1 implements the .tag property (per request) and is considerably cleaner/optimized code.
Appreciate your comments most.

Inputs
Treeview name
Assumes
See readme... easy to implement.
Code Returns
Saves or restores treeview contents/states

Rate Save/Load Treeview with Propertybag

Download Save/Load Treeview with Propertybag

Download Save/Load Treeview with Propertybag (23 KB)

Save/Load Treeview with Propertybag Comments

No comments have been posted about Save/Load Treeview with Propertybag. Why not be the first to post a comment about Save/Load Treeview with Propertybag.

Post your comment

Subject:
Message:
0/1000 characters