treecombobox ImportFromTreeNodes method
Return to Introduction  Previous page  Next page
Applies to
acTreeComboBox and acTreeView components.  

procedure ImportFromTreeNodes(SourceTreeNodes: TTreeNodes;  
  SourceRootNode: TTreeNode = nil; TargetRootNode: TTreeNode = nil);  

The ImportFromTreeNodes method used to copy the tree nodes from some container TTreeNodes object (i.e: standard TreeView or another TreeComboBox) to this TreeComboBox control.  

Example (demonstrates how to fill the acTreeComboBox control with nodes from some TreeView)

See also
ExportToTreeNodes and ImportFromTreeView methods.