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

property AlwaysExpandRoot: Boolean; // False by default  

The AlwaysExpandRoot property specifies whether the top-level nodes (root nodes) CAN or CAN'T be collapsed.  
Set AlwaysExpandRoot to True, and root nodes will be always expanded to display their child nodes.  

See also
AlwaysFullExpand and AutoExpand properties.