Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Twin TreeView

Twin TreeView

Scheduled Pinned Locked Moved Windows Forms
data-structuresxmltutorialquestion
8 Posts 4 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Ger Hayden
    wrote on last edited by
    #1

    I am working on a proposal for am Xml Universal Message Editor (XUME). I am considering a tree based interface for the data entry. I cant see an example of a treeview with both a lablel and textbox per node. I am considering a twin tree approach, the left tree will have the element names as standard label nodes, the right tree will be textboxes for the elemment values. There will be no visible controls on the right side tree, it will take all its queues form the left side tree, and the user will perceive it as a single tree. Have I a plan, or is this a one way ticket to the hall of shame?

    Ger

    L B 2 Replies Last reply
    0
    • G Ger Hayden

      I am working on a proposal for am Xml Universal Message Editor (XUME). I am considering a tree based interface for the data entry. I cant see an example of a treeview with both a lablel and textbox per node. I am considering a twin tree approach, the left tree will have the element names as standard label nodes, the right tree will be textboxes for the elemment values. There will be no visible controls on the right side tree, it will take all its queues form the left side tree, and the user will perceive it as a single tree. Have I a plan, or is this a one way ticket to the hall of shame?

      Ger

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      If I understand your question correctly, your first tree seems to be okay, but why do you need another tree for the element values? A list view should work as long as you're using it to add/edit/update the attributes for the element selected in the tree.

      G 1 Reply Last reply
      0
      • L Lost User

        If I understand your question correctly, your first tree seems to be okay, but why do you need another tree for the element values? A list view should work as long as you're using it to add/edit/update the attributes for the element selected in the tree.

        G Offline
        G Offline
        Ger Hayden
        wrote on last edited by
        #3

        Purely experimental. No absolute techincal need to.

        Ger

        L M 2 Replies Last reply
        0
        • G Ger Hayden

          Purely experimental. No absolute techincal need to.

          Ger

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          go ahead and let me know how it goes... :thumbsup:

          G 1 Reply Last reply
          0
          • G Ger Hayden

            Purely experimental. No absolute techincal need to.

            Ger

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            KA BOOM well that one didn't work. If it does not get you into the hall of shame it will almost certainly drive you nuts. With WPF/SL is would be a trivial matter :laugh: I have used the treeview/listview but then all your edits are in a column rather than the 2 piece treeviewitem

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • L Lost User

              go ahead and let me know how it goes... :thumbsup:

              G Offline
              G Offline
              Ger Hayden
              wrote on last edited by
              #6

              There may well be an article in there if I can make it happen

              Ger

              1 Reply Last reply
              0
              • G Ger Hayden

                I am working on a proposal for am Xml Universal Message Editor (XUME). I am considering a tree based interface for the data entry. I cant see an example of a treeview with both a lablel and textbox per node. I am considering a twin tree approach, the left tree will have the element names as standard label nodes, the right tree will be textboxes for the elemment values. There will be no visible controls on the right side tree, it will take all its queues form the left side tree, and the user will perceive it as a single tree. Have I a plan, or is this a one way ticket to the hall of shame?

                Ger

                B Offline
                B Offline
                BillWoodruff
                wrote on last edited by
                #7

                Check out the several TreeListView articles here on CP, such as: Virtual Mode TreeListView by yetibrain[^]. fyi: some commercial WinForm TreeViews, like IntegralUI TreeView, from Lidor Systems, which I use, easily support WinForm controls within each Node: so it would be trivial to have both a Label and an editable TextBox within each Node. best, Bill

                "Reason is the natural order of truth; but imagination is the organ of meaning." C.S. Lewis

                G 1 Reply Last reply
                0
                • B BillWoodruff

                  Check out the several TreeListView articles here on CP, such as: Virtual Mode TreeListView by yetibrain[^]. fyi: some commercial WinForm TreeViews, like IntegralUI TreeView, from Lidor Systems, which I use, easily support WinForm controls within each Node: so it would be trivial to have both a Label and an editable TextBox within each Node. best, Bill

                  "Reason is the natural order of truth; but imagination is the organ of meaning." C.S. Lewis

                  G Offline
                  G Offline
                  Ger Hayden
                  wrote on last edited by
                  #8

                  Thanks, Bill

                  Ger

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups