LocateItem




Public Sub LocateNode(ctlTreeView As TreeView, Node As Node)
Dim x As Long
Screen.MousePointer = vbHourglass
For x = 1 To ctlTreeView.Nodes.Count
If ctlTreeView.Nodes(x).Index= Node.Index Then
ctlTreeView.Nodes(x).EnsureVisible
ctlTreeView.Nodes(x).Selected = True
Exit For
End If
Next
Screen.MousePointer = vbNormal
End Sub











( locateitem.html )- by Paolo Puglisi - Modifica del 17/12/2023