Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Thu Sep 15, 2005 8:14 am Post subject: HOWTO : Select a node in FolderView at startup |
|
|
You can start your form with a particular node in FolderView selected. To do this, use the SelectNode method of FolderView in the Form_Load or similar event as follows :
[c#]
folderView1.SelectNode("c:\\",null,true); // selects the 'c:\' node
[VB.Net]
folderView1.SelectNode("c:\",Nothing,True) ' selects the 'c:\' node
Refer to the documentation of the SelectNode method for detailed information. |
|