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. C#
  4. regd treeView control

regd treeView control

Scheduled Pinned Locked Moved C#
data-structuresquestion
5 Posts 2 Posters 0 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.
  • K Offline
    K Offline
    karteek
    wrote on last edited by
    #1

    Hi, I have a treeView Control. I am adding a node with text . The text is very large one. It is giveing scroll bar for the tree view but all the text is not visible (the text is very large around 1000characters). How can I change the properties to make the entire text visible. Karteek

    D 1 Reply Last reply
    0
    • K karteek

      Hi, I have a treeView Control. I am adding a node with text . The text is very large one. It is giveing scroll bar for the tree view but all the text is not visible (the text is very large around 1000characters). How can I change the properties to make the entire text visible. Karteek

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      :wtf: Why on earth would you put a string that long in a TreeView? That is more like detail that should be displayed on some other control. I'm just saying this because if I saw an application do something like that, the first thought in my head would be "WHAT WERE THE DEV's THINKING WHEN THEY DID THIS?!?!" Now, the TreeView control doesn't support putting huge strings on multiple lines in a single node. You COULD break up that string into multiple nodes under the same parent node. Or you could attempt to ownerdraw the TreeView, but that's not exactly easy. Another option would be to check out an alternate TreeView control from, say, Infragistics... RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

      K 1 Reply Last reply
      0
      • D Dave Kreskowiak

        :wtf: Why on earth would you put a string that long in a TreeView? That is more like detail that should be displayed on some other control. I'm just saying this because if I saw an application do something like that, the first thought in my head would be "WHAT WERE THE DEV's THINKING WHEN THEY DID THIS?!?!" Now, the TreeView control doesn't support putting huge strings on multiple lines in a single node. You COULD break up that string into multiple nodes under the same parent node. Or you could attempt to ownerdraw the TreeView, but that's not exactly easy. Another option would be to check out an alternate TreeView control from, say, Infragistics... RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

        K Offline
        K Offline
        karteek
        wrote on last edited by
        #3

        Hi, I usually don't have such long strings in my control but in some case I amy get such strings. So I want this. Karteek.

        D 1 Reply Last reply
        0
        • K karteek

          Hi, I usually don't have such long strings in my control but in some case I amy get such strings. So I want this. Karteek.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You may want it, but would anyone else want to use it? RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

          K 1 Reply Last reply
          0
          • D Dave Kreskowiak

            You may want it, but would anyone else want to use it? RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

            K Offline
            K Offline
            karteek
            wrote on last edited by
            #5

            Hi, Actually I am reading the input for the tree from a file . So I can have any type of text in the file. Karteek

            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