Results 1 to 5 of 5

Thread: [2005] [RESOLVED] Prevent TreeNode from Collapsing when DoubleClicked but...

Threaded View

  1. #1

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695

    Resolved [2005] [RESOLVED] Prevent TreeNode from Collapsing when DoubleClicked but...

    Hi,

    I have got a standard Windows Forms Treeview which contains some nodes.

    I am using NodeMouseDoubleClick event to get the node and then get the ID of the node and show a form containing data that belongs to the ID.

    What I am stuck at is when I double click any node, it Collapses or Expands depending on it's previous state.

    I want to Prevent TreeNode from Collapsing or Expanding when DoubleClicked but allow when user clicks that tiny "+" or "-" button in front of the node.

    Is this possible? Is so then could someone guide me to the solution please?

    Cheers
    Last edited by wrack; Feb 16th, 2009 at 09:37 PM. Reason: [RESOLVED]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width