RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeView Events

The events of the TTreeView class are listed here.

 
Name 
Description 
 
Occurs when new node is added. 
 
Occurs at discrete stages during the painting of the tree view control. 
 
Occurs at discrete stages during the painting of tree view nodes. 
 
Occurs whenever the selection has changed from one node to another. 
 
Occurs when the selection is about to change from one node to another. 
 
Occurs when the user clicks the control. 
 
Occurs after a node has been collapsed. 
 
Occurs when a node is about to be collapsed. 
 
Occurs when two nodes must be compared during a sort of the nodes in the tree view. 
 
Occurs when the user right-clicks the control or otherwise invokes the popup menu (such as using the keyboard). 
 
Occurs when a node in the treeview is about to be created. 
 
Occurs immediately prior to painting the tree view control. 
 
Occurs immediately prior to painting a node in a tree view control. 
 
Occurs when the user double-clicks the left mouse button when the mouse pointer is over the control. 
 
Occurs when a node in the tree view is deleted. 
 
Occurs when the user drops an object being dragged. 
 
Occurs when the user drags an object over a control. 
 
Occurs after the user edits the Text property of a node. 
 
Occurs when the user starts to edit the Text property of a node. 
 
Occurs when the dragging of an object ends, either by docking the object or by canceling the dragging. 
 
Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. 
 
Occurs when a control receives the input focus. 
 
Occurs when the input focus shifts away from one control to another. 
 
Occurs after a node is expanded. 
 
Occurs when a node is about to be expanded. 
 
Occurs when the tree view looks up the ImageIndex of a node. 
 
Occurs when the tree view looks up the SelectedIndex of a node. 
 
Occurs when a user presses any key while the control has focus. 
 
Occurs when a key is pressed. 
 
Occurs when the user releases a key that has been pressed. 
 
Occurs when the user presses a mouse button with the mouse pointer over a control and the parent form is not active. 
 
Occurs when the user presses a mouse button with the mouse pointer over a control. 
 
Occurs when the user moves the mouse into a control. 
 
Occurs when the user moves the mouse outside of a control. 
 
Occurs when the user moves the mouse pointer while the mouse pointer is over a control. 
 
Occurs when the user releases a mouse button that was pressed with the mouse pointer over a component. 
 
Occurs when the user begins to drag a control with a DragKind of dkDock. 
 
Occurs when the user begins to drag the control or an object it contains by left-clicking on the control and holding the mouse button down. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!