Simple Find Text In Treeview
This code snippet posted By NEC_VERSA demonstrates how to find a node in a tree view.
Categories: Trees
|
Tags: Developers, 1. Beginner, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
Revision: 1
Posted: 12/Jan/2008
Updated: 12/Jan/2008
Status: Publish
Types: Article
|
Public Function FindNodes(ByVal ActiveTreenode As Gizmox.WebGUI.Forms.TreeView) As Gizmox.WebGUI.Forms.TreeNode
With ActiveTreenode
If ActiveTreenode.Nodes.Item(IIf(ActiveTreenode.SelectedNode.Index < 0, 0, ActiveTreenode.SelectedNode.Index)).Index < (ActiveTreenode.Nodes.Count - 1) Then
ActiveTreenode.SelectedNode = ActiveTreenode.Nodes.Item(ActiveTreenode.SelectedNode.Index 1)
Return FindNodes(ActiveTreenode)
Else
Return ActiveTreenode.SelectedNode
End If
End With
End Function
About the author
Related Articles
Trees |
|
|
Control of a combobox with a checked list and a tree.
Tags: Developers, Navigation, 2. Intermediate, 3. Advanced, Customization, Layouting, Navigation, Pre v6.3, v6.3, v6.4 and Later
|
|
|
This video demonstrates how to populate a TreeView control.
Tags: Developers, Data Binding, 1. Beginner, Data Binding, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
|
|
|
This article contains code that demonstrates how to create a personalized look for TreeNodes that have the mouse hovering over them while dragging another element.
Tags: Developers, Drag & Drop, Events, C#, 2. Intermediate, 3. Advanced, Customization, v6.3, v6.4 and Later
|
|
|
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags: Developers, Drag & Drop, 1. Beginner, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
|
|
|
Tags: Developers, 1. Beginner, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
|
|
|
|