treecombobox ImportFromTreeView method
Previous  Top  Next
Applies to
tcTreeComboBox component.  

Declaration
procedure ImportFromTreeView(SourceTreeView: TCustomTreeView;  
  SourceRootNode: TTreeNode = nil; TargetRootNode: TTreeNode = nil);  

Description
The ImportFromTreeView method used to copy the tree nodes from some TreeView control to this TreeComboBox control.  

Example (demonstrates how to fill the tcTreeComboBox control with nodes from some TreeView)
tcTreeComboBox1.ImportFromTreeView(acTreeView1);  

See also
ExportToTreeNodes and ImportFromTreeNodes methods.