I've coded a treeview search like this:
dim i as integer
for i= 1 to treeview.nodes.count
if treeview.nodes(i).key = criteria then
...
...
exit sub
end if
next i
i= msgbox("Not find", .....)
Is it good?
Thanks
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |