Treeview NodeSelect

  • Thread starter Thread starter Ryan Lashway
  • Start date Start date
R

Ryan Lashway

Guest
I am trying to use the NodeMouseClick event to execute code.


Currently I have the below code for testing that, even though it is in the NodeMouseClick it does not execute until I doubleclick


Textbox1.Text = TreeView1.SelectedNode.Tag + "\" + Treeview1.SelectedNode.Name


The Tag stored a path like C:\folder1\folder2 and the Name holds the current folder, so Textbox1.text would equal C:\Folder1\Folder2\currentfolder

I have tried using a TreeView1.Refresh() but still requires a doubleclick before the date changes from the previous value, even though it is highlighted and selected.


Thanks Gang

Continue reading...
 
Back
Top