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

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 acTreeComboBox control with nodes from some TreeView)
acTreeComboBox1.ImportFromTreeView(acTreeView1);  

See also
ExportToTreeNodes and ImportFromTreeNodes methods.