|
-
November 9th, 1999, 07:39 AM
#1
combobox 'n treeview question
I have a combobox called cboNavigate and a treeview called tvwTree. When I click nodes in the treeview the combobox displays the fullpath. Now I want to implement that the user can type in a treeview path in cboNavigate and press enter and that the treeview will jump to the right possition.
f.i I type: "Sales, Sales dossiers, Communications" (without quotes) and press enter the treeview jumps to the Communications node in the threeview. (The pathseparator is as you can see ", ")
Anybody knows how to do this ??
-
November 12th, 1999, 06:01 PM
#2
Re: combobox 'n treeview question
Treeview has a nodes collection. If you have the path as Key to each node in the collection, then just you can pass KEY to the collection to retrieve the node and with the retrieved node you can set the node as selected.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|