EControl Syntax Editor SDK
TSyntaxTreeView.OnChange Property

Occurs whenever the selection has changed from one node to another.

property OnChange;

Write an OnChange event handler to take specific action when the selected node changes. The Sender parameter is the tree view whose selected node changes, and the Node parameter is the newly selected node.

The OnChange event does not occur for nodes selected using the right mouse button when RightClickSelect is true. To respond to changes in the value of the Selected property when RightClickSelect is true, use the OnMouseUp event.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!