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. Visual Basic
  4. ListView

ListView

Scheduled Pinned Locked Moved Visual Basic
tutorial
6 Posts 3 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.
  • U Offline
    U Offline
    User 605668
    wrote on last edited by
    #1

    Hi, how to create ListView behave like TreeNode TQ

    C 1 Reply Last reply
    0
    • U User 605668

      Hi, how to create ListView behave like TreeNode TQ

      C Offline
      C Offline
      Corinna John
      wrote on last edited by
      #2

      What exactly do you want? A ListView cannot "behave like a TreeNode".:confused:

      U 1 Reply Last reply
      0
      • C Corinna John

        What exactly do you want? A ListView cannot "behave like a TreeNode".:confused:

        U Offline
        U Offline
        User 605668
        wrote on last edited by
        #3

        but i saw a sample in C# in this web site?

        D 1 Reply Last reply
        0
        • U User 605668

          but i saw a sample in C# in this web site?

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

          I think your looking for this http://www.codeproject.com/cs/miscctrl/treelistview.asp?target=treeview%7Clistview[^] It adds ListView Column support to a TreeView control. There is no way to make a ListView behave like a TreeView. That would result in an actual TreeView control. RageInTheMachine9532

          U 1 Reply Last reply
          0
          • D Dave Kreskowiak

            I think your looking for this http://www.codeproject.com/cs/miscctrl/treelistview.asp?target=treeview%7Clistview[^] It adds ListView Column support to a TreeView control. There is no way to make a ListView behave like a TreeView. That would result in an actual TreeView control. RageInTheMachine9532

            U Offline
            U Offline
            User 605668
            wrote on last edited by
            #5

            i know there a sample in C#, but i need it in VB.NET, i try to go through the C# code but still can't get it since i not familiar with it. Is there any sample on VB.NET that u know? TQ

            D 1 Reply Last reply
            0
            • U User 605668

              i know there a sample in C#, but i need it in VB.NET, i try to go through the C# code but still can't get it since i not familiar with it. Is there any sample on VB.NET that u know? TQ

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

              This is the only example I know of. I can't find another example of this idea anywhere. To convert blocks of code from C# to VB, you might want to try http://www.kamalpatel.net/ConvertCSharp2VB.aspx[^] It will NOT convert an entire program like this example. But you can use it to convert blocks of code so you can then use that for a reference to hand convert the rest if needed. RageInTheMachine9532

              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