TPlusMemo.ExpandAll
PlusMemo Help Send comments on this topic.
TPlusMemo.ExpandAll

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

procedure ExpandAll(ExpandInners: Boolean = True; 

                    StaticBlocks: Boolean = True;

                    DynamicBlocks: Boolean = True);

 

Description

This method expands all the collapsible blocks that are present in a TPlusMemo.  If parameter ExpandInners is True, inner blocks are expanded as well (blocks can be nested up to 16 levels).  If False, only outer blocks are expanded, while inner blocks keep their previous state.  This parameter takes on the value of True if the method call does not specifies it.

 

Parameter StaticBlocks controls whether static collapsible blocks will be affected or not.  Its default value is True.  Likewise, DynamicBlocks controls whether dynamic blocks are affected.  See topic  Collapsible blocks in PlusMemo for an explanation of static and dynamic collapsible blocks.

 

See also

Method CollapseAll

Topic Collapsible blocks in PlusMemo

TpmCollapsibleHandler component