|
-
Nov 23rd, 1999, 09:50 PM
#1
Thread Starter
Hyperactive Member
That's basicly it man:
How can I check if a node has children or not ?
-
Nov 23rd, 1999, 10:54 PM
#2
If you are reffering to a node in a treeview just check the Children property. It returns the number of child nodes.
If TreeView1.Nodes(1).Children > 0 Then
MsgBox "The node have child nodes"
Else
MsgBox "The node don't have any child nodes"
End If
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
-
Nov 23rd, 1999, 11:06 PM
#3
Thread Starter
Hyperactive Member
That was what I was reffering to and this is what I was looking for...
cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|