Home Forums WinForms controls Other WinForms controls treeview lines not showing up

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17940 |

    Hi,
    I have a treeview control with nodes and child nodes. The showlines and showplusminus is set to true..but still when i run the application the lines doesn’t show up nor does the plus minus sign on the nodes with child..

    Is this a bug ??
    cheers
    Sharad

    Imported from legacy forums. Posted by Sharad (had 2817 views)

    User (Old forums)
    Member
    Post count: 23064

    I’m getting this problem too, but only when adding items in code. For example,

    thetreeview.showplusminus = true
    dim pop as new treeview.node(“Test”)
    pop.items.add(new treeview.node(“Child test”))
    call thetreeview.items.add(pop)

    This will add a new node to the tree but not display the plus and minus boxes. I can see the lines though!

    Nick.

    Imported from legacy forums. Posted by firkinfedup (had 221 views)

    User (Old forums)
    Member
    Post count: 23064

    I’ve just realised what’s happening, I wasn’t actually adding a single root node. I presume it isn’t possible to show them without a single root?

    Imported from legacy forums. Posted by firkinfedup (had 3606 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.