Unless there is a sneaky intrinsic treeview property that can be set that will allow you specify a rightclick select you could trap the mousedown event and force a node selection as in:
Code:Private Sub TreeView1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TreeView1.MouseDown If e.Button = MouseButtons.Right Then Me.TreeView1.SelectedNode = Me.TreeView1.GetNodeAt(New System.Drawing.Point(e.X, e.Y)) End If End Sub




Reply With Quote