treeview AutoExpand property
Return to Introduction  Previous page  Next page
Applies to
acTreeView component.  

Declaration
property AutoExpand: Boolean;  

Description
The AutoExpand property specifies whether the nodes in the tree view automatically expand and collapse depending on the selection.  
 
Set AutoExpand to True to cause the selected item to expand and the unselected items to collapse.  

See also
AlwaysExpandRoot and AlwaysFullExpand properties.