.NET Framework Bookmark and Share   
 index > .NET Base Class Library > Treeview problem
 

Treeview problem

hi i want to use treeview control
for example i have nodes like this

root
      sample1
                     download1
                     download2


at treeview i click on download1 and select that node . then i leave treeview control and click another control on the form

my problem is this:
after leaving the treeview control i can not see the selected node(download1) on treeview



 
bafidi
you can also use the 'afterselect' event to "tag" the nodeSmile
DMan1

Set HideSelection to false. Then the selection remains visible after the control lost focus.

Marinus Holkema
you can also use the 'afterselect' event to "tag" the nodeSmile
DMan1

You can use google to search for other answers

Custom Search

More Threads

• Comparing PropertyInfo.PropertyType with System.String and other types
• Decimal.ToString();
• key container security
• NTFS ObjectIds
• Compoort
• I Need to send data to USB port
• Reflection & overriden abstract "generic" properties
• MMC 3.5 and the use of node id, will this always be unique?
• How can I convert picture to another format?
• security issue