treecombobox ExportToTreeNodes method
Previous  Top  Next
Applies to
tcTreeComboBox component.  

Declaration
procedure ExportToTreeNodes(TargetTreeNodes: TTreeNodes;  
  SourceRootNode: TTreeNode = nil; TargetRootNode: TTreeNode = nil);  

Description
The ExportToTreeNodes method used to copy the tree nodes from current TreeCombBox to another container TTreeNodes object (i.e: standard TreeView or another TreeComboBox).  

Example (demonstrates how to fill the TreeView with nodes from TreeComboBox)
tcTreeComboBox1.ExportToTreeNodes(acTreeView1.Items);  

See also
ImportFromTreeNodes and ImportFromTreeView methods.