Treeview - set selected node programmatically?

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

Is it possible to set the selected node programmatically rather than only
via a user clicking on a node?

JJ
 
OK I found it:
treenode.Selected = true.

Got confused as Treeview.SelectedNode is a read only property.
JJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top