Results 1 to 2 of 2

Thread: Selecting a node at runtime - Treeview

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    NY, USA.
    Posts
    240

    Post

    When using the treeview control at runtime, How do you select a specific node at runtime.

    ------------------
    OmarSwan
    Student
    [email protected]

    "Jesus Lives"

  2. #2
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    Code:
    Dim nodeX as Node
    set nodeX = 'the node you want selected
    
    'to select it
    nodeX.selected = true
    or

    Code:
    TreeView1.Nodes(<index> ).selected = true
    Hop this helps

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