wtihs this code I set Focus to TreeView Node.
Code:Private Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click 'Expand(TextBox3.Text) '("C:\7143\Baltek") gotNode = False For Each n As TreeNode In Me.TreeView1.Nodes If Not gotNode Then selectTreeNode(n, TextBox3.Text) ' "C:\7143\Baltek") End If Next End Sub
When I try to set focus TreeViewNode based on TextBox.Text (with dont care uppercase, lowercase) then no result.
For Excample Node Tag is "C:\7143\Baltek")
if I enter "C:\7143\baltek") or "C:\7143\BalteK") no result, because of Upper LowerCase typing
how can I adjust to find not with any type textbox.text.




Reply With Quote
