JVCL Help:TJvDBTreeNode.MoveTo

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Moves the node to another location in the tree view.


Pascal

 procedureMoveTo(Destination: TTreeNode; Mode: TNodeAttachMode); override;


Parameters

Parameters Description
Destination: TTreeNode Node to use as the new parent for the current node.
Mode: TNodeAttachMode Relationship for the node and its' new parent/sibling.


Description

MoveTo is an overridden method used to re-parent a node in the TJvDBTreeView data-aware tree view component.
The Destination parameter specifies a node that will be the parent or sibling for the current node or sibling after the move.
The Mode parameter specifies the new relationship between this node and the destination node.
MoveTo uses the value in the TreeView property to capture and restore its' PersistNode property after updating the tree structure.
MoveTo is used in the RecordChanged and DragAndDrop methods in TJvCustomDBTreeView.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page