Results 1 to 5 of 5

Thread: Tree View Question ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Location
    Indonesia
    Posts
    12

    Tree View Question ?

    Dear All,

    I want to know how we could set the active node in the tree view control.

    my problem , i have 2 contols, list view and tree view, if i click item in list view, i want the item/node int tree view is activated node by program not by clicking the node.

    could you help my problem?

    thanks very much

  2. #2
    Hyperactive Member Janaka's Avatar
    Join Date
    Nov 2001
    Posts
    277
    Use
    VB Code:
    1. tvwTreeView.SelectedItem = ' node u want to select

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Location
    Indonesia
    Posts
    12
    but the cursor is not in selected item. what that i want is the cursor if we change into this control is in the selected item we declare with program,

    could u help me?

    please

  4. #4
    Hyperactive Member Janaka's Avatar
    Join Date
    Nov 2001
    Posts
    277
    it should, if u give the node correctly.
    I am not clear what u want to do.

  5. #5
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Make sure HideSelection is unchecked in the properties if you want to see when the control doesn't have focus.

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