VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Save/Load Treeview with Propertybag

CptnVic  (6 Submissions)   Miscellaneous   Intermediate   Wed 3rd February 2021

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.

Returns
Saves or restores treeview contents/states

Rate Save/Load Treeview with Propertybag (5(5 Vote))

Download Save/Load Treeview with Propertybag

Save/Load Treeview with Propertybag Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters