Guest Eregnon Posted October 8, 2002 Posted October 8, 2002 I have a treeview control on one of my forms. The control get's dynamically built from a data file each time the form is entered. It has many nodes, and this takes awhile. The control is actually fairly static - it represents a healthcare claim form - and it occured to me that if I could somehow save the completed treeview as a class I could just drop it in whenever I needed it. Is there any way I can take this control that has been created at runtime and save it as a class? Would I have to somehow have the program write out the vb code to create the class? I suppose I coulde create it manually, but being fairly lazy (as all good programmers are :D ) I'd rather do it the easy way if there is one. Quote
*Gurus* Derek Stone Posted October 8, 2002 *Gurus* Posted October 8, 2002 You could always Inherit TreeView, but that seems like a tad bit overkill. Up to you though. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.