How to disable inplace edit of some TreeView nodes

  • Thread starter Thread starter Richard Lewis Haggard
  • Start date Start date
R

Richard Lewis Haggard

Is it possible to disable in place edit of some TreeView nodes while
allowing it in others? If so, how?
 
Richard Lewis Haggard said:
Is it possible to disable in place edit of some TreeView nodes while
allowing it in others? If so, how?

Handle the control's 'BeforeLabelEdit' event, check 'e.Node' and set
'e.CancelEdit' to 'True' to prevent the user from editing the node.
 
Back
Top