How to conut occurrence on hightlight node, on click event?
in this case i see 3 occurrence
IMPARATO...
ALBANO...
DE ROSA...
my test on debug.print:
....
Set TN = .HitTest(X, Y)
If Not TN Is Nothing Then
RIGA = TN.Index
TEST = .Nodes(RIGA).Image
Select Case TEST
Case 4
Set .DropHighlight = .HitTest(X, Y)
.SelectedItem = .DropHighlight
Set moDragNode = .SelectedItem
'Debug.Print .SelectedItem(RIGA).Children.Count
...
count sub item in child treeview
-
- PlatinumLounger
- Posts: 4370
- Joined: 26 Apr 2010, 17:36
count sub item in child treeview
You do not have the required permissions to view the files attached to this post.
-
- 4StarLounger
- Posts: 564
- Joined: 27 Jun 2021, 10:46
Re: count sub item in child treeview
You don.t need the .Count
should do the trick
Code: Select all
Debug.Print .SelectedItem.Children