EControl Syntax Editor SDK
TCustomSyntaxTreeView.AutoCollapse Property

Specifies whether all expanded nodes except parents of selected tree node should be automatically collapsed.

property AutoCollapse: Boolean;

AutoCollapse is used only when AutoSynchronize is True. When caret position in associated syntax memo is changed syntax tree view selects new tree node associated with the current text range in editor. All other branches will be collapsed if AutoCollapse is True.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!