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

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

procedure MakeSelCollapsible;

 

Description

This method defines a static collapsible block over the selected text range.  Further to calling this method, it is possible to collapse that text range by using method CollapseSel.  If property CollapseHandler is assigned, this range will be visually shown as collapsible.

 

Collapsible blocks can be nested up to 15 levels.  If the start of selection was already inside a static collapsible block, the selected range will get a collapsible level equal to that of the outside block plus one.  In that case, if the selection extends outside of that outer block, it will be extended so as to end at the same position as the newly defined inner block.  The first level of collapsibility is one.   

 

See also

Topic Collapsible blocks in PlusMemo

Method RemoveSelCollapsible

Method MakeCollapsibleBlock

TpmCollapsibleHandler component