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

Declaration
property AlwaysExpandRoot: Boolean; // False by default  

Description
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.