dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: tree view search

  1. #1
    Join Date
    Mar 2008
    Posts
    142

    tree view search

    i want to search a node from a tree view
    i have a root node and child node in the following format
    Album1
    Photo1
    Photo2
    Album2
    Photo1
    Photo2
    where album is root node and photo is child node
    i want to search child node,in this case Photo
    when a particular node is found then that node should be highlighted.
    if more than one node is searched with the same name then there should be some mechanism to do that
    i have a text box,a button for search and a tree view
    kindly tell me how can i do that.

  2. #2
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487

    Re: tree view search

    you may use treeView1.Nodes.Find()

    hth
    Busy

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)