Hi, I want the users of my program to be able to add nodes to a treeview permanently at runtime. How do I do that?
Thanks in advance for your answer.
Asif
Printable View
Hi, I want the users of my program to be able to add nodes to a treeview permanently at runtime. How do I do that?
Thanks in advance for your answer.
Asif
what do u mean, permanantly?
Well.. I mean, s/he will be able to use it next time or any other time s/he opens the application (unless deleted by him). So, it's not exactly 'permanently'. It won't be much problem for me adding nodes at runtime for one session of the application. But I don't know how to do it as I said, since I'm a beginner. Please help me.
Asif
Treeview1.Nodes.Add [Relative], [Relationship], [Key], [Text], [Image], [SelectedImage]
BTW: the selected image is for if there's an imagelist hooked up to the treeview.
If there is, then the selectedimage value is just the image list's index of the image you want to use