View object as TreeView node rather than Text (ex. Radio Button, TextBox, ComboBox)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cpup22
    New Member
    • Apr 2008
    • 2

    View object as TreeView node rather than Text (ex. Radio Button, TextBox, ComboBox)

    I'm new to visual basic but have been playing around with extending the treenode functionalities . I found out how to make it so that after a user clicks on a node in a tree a windows object such as a radio button pops up in the location where the tree node is. The problem with that is that if the tree is really long and requires scrolling that radio button doesn't scroll with the tree. It's really an ugly work around anyways. What I want to do is... so I have the new tree node that I created. I want to make it so that when the tree loads it shows an object rather than text for the nodes.

    Something like:
    + Directory
    + o Option 1
    + o Option 2
    + Text input below
    + [] <--- user can type in a TextBox
    + etc. any other Windows.Form object that I might want to render as a node to my tree

    Has anyone done anything like this before? Is it possible?
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by cpup22
    I'm new to visual basic but have been playing around with extending the treenode functionalities . I found out how to make it so that after a user clicks on a node in a tree a windows object such as a radio button pops up in the location where the tree node is. The problem with that is that if the tree is really long and requires scrolling that radio button doesn't scroll with the tree. It's really an ugly work around anyways. What I want to do is... so I have the new tree node that I created. I want to make it so that when the tree loads it shows an object rather than text for the nodes.

    Something like:
    + Directory
    + o Option 1
    + o Option 2
    + Text input below
    + [] <--- user can type in a TextBox
    + etc. any other Windows.Form object that I might want to render as a node to my tree

    Has anyone done anything like this before? Is it possible?
    Heiya cpup22!

    Sorry for your troubles...

    Do you a bit of code written by any chance? Might be helpful to take a closer look. Please post at least the part with porblem. Perhaps someone might see it passing through:-)

    How's that for a deal?

    Dököll

    Comment

    • cpup22
      New Member
      • Apr 2008
      • 2

      #3
      Well, I have code written but it's not going to help if I post it. It's working just fine. My issue is more of a "is it possible" issue. I want a TreeView node to display an object rather than text.

      Comment

      Working...