H Herfried K. Wagner [MVP] Apr 26, 2004 #2 * "John Smith said: i only know the node text property Click to expand... You will have to recursively loop through the nodes to find the node.
* "John Smith said: i only know the node text property Click to expand... You will have to recursively loop through the nodes to find the node.
J John Smith Apr 26, 2004 #3 ok, but what do i do when i find it? whats the method that selects the node?
M Morten Wennevik Apr 26, 2004 #4 Hi John, treeView1.SelectedNode = node; Happy coding! Morten Wennevik [C# MVP]
S Stoitcho Goutsev \(100\) [C# MVP] Apr 26, 2004 #5 Hi John, Once you find the node with the given text, you have a reference to a TreeNode object, set the TreeView.Selected node to that reference. -- B\rgds Stoitcho Goutsev (100) [C# MVP] John Smith said: ok, but what do i do when i find it? whats the method that selects the node? Click to expand...
Hi John, Once you find the node with the given text, you have a reference to a TreeNode object, set the TreeView.Selected node to that reference. -- B\rgds Stoitcho Goutsev (100) [C# MVP] John Smith said: ok, but what do i do when i find it? whats the method that selects the node? Click to expand...
J John Smith Apr 26, 2004 #6 ok, tnx for ur quick answers i`ll try ) John Smith said: ok, but what do i do when i find it? whats the method that selects the node? Click to expand...
ok, tnx for ur quick answers i`ll try ) John Smith said: ok, but what do i do when i find it? whats the method that selects the node? Click to expand...
H Herfried K. Wagner [MVP] Apr 26, 2004 #7 * "John Smith said: ok, but what do i do when i find it? whats the method that selects the node? Click to expand... Set 'TreeView.SelectedNode' to the node and cancel further enumeration.
* "John Smith said: ok, but what do i do when i find it? whats the method that selects the node? Click to expand... Set 'TreeView.SelectedNode' to the node and cancel further enumeration.
J John Smith Apr 27, 2004 #8 hehe this is clever Herfried K. Wagner said: Set 'TreeView.SelectedNode' to the node and cancel further enumeration. Click to expand...
hehe this is clever Herfried K. Wagner said: Set 'TreeView.SelectedNode' to the node and cancel further enumeration. Click to expand...