|
-
Apr 5th, 2004, 06:27 PM
#1
Thread Starter
Junior Member
Treeview help
I have created a tree view and I would like to set the focus to a node. Can anyone help me with this.
Treeview1.Node(1).Node(0)
Need help with the above, tring to set the focus to Child 0 of Node 1.
Thanks
-
Apr 5th, 2004, 06:42 PM
#2
try this
TreeView1.SelectedNode = TreeView1.Nodes(1).Nodes(0)
that would be the first child of the second node
this is for the first child of the first node (0 bases array index):
TreeView1.SelectedNode = TreeView1.Nodes(0).Nodes(0)
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Apr 5th, 2004, 06:58 PM
#3
Thread Starter
Junior Member
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
|