Results 1 to 5 of 5

Thread: Add nodes to treeview at runtime

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    Bangladesh
    Posts
    12

    Question Add nodes to treeview at runtime

    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

  2. #2
    spetnik
    Guest
    what do u mean, permanantly?

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    Bangladesh
    Posts
    12
    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

  4. #4
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Treeview1.Nodes.Add [Relative], [Relationship], [Key], [Text], [Image], [SelectedImage]

  5. #5
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width