Results 1 to 2 of 2

Thread: Treeview

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 1999
    Location
    J-ville, NC
    Posts
    54

    Post

    I have a treeview the a list a Nodes and items under those nodes. When the form loads all of the nodes are closed. (Expanded = False)

    I have 2 buttons, one that expands all the nodes and one that closes all the nodes. Whenever I open them all, the scroll bar isn't all the way up at the top of the treeview. (Because when all the nodes are expanded, it's bigger than the treeview, so it displays a scrollbar so you can scroll to the bottom of the list)

    My questions is: How can I have the scrollbar at the top of the list when I expand all the nodes?

    ------------------
    David Underwood
    Teen Programmer

    ICQ - 14028049
    E-mail - darknight23@hotmail.com



  2. #2
    Hyperactive Member
    Join Date
    Jun 1999
    Posts
    308

    Post

    I am not sure but there was a property:

    .EnsureVisible - maybe that is what you need?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width