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

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

procedure InsertBlock(const Block: string);

 

Description

This method inserts a block of text in the control.  Parameter Block is a string with lines separated by CR/LF character pairs.  Each line will be added to the TPlusMemo or TDBPlusMemo at the current column position of the editing point, starting at the current line, and going forward until each line of Block is inserted (always at the same horizontal position).

 

Remark

Method InsertBlock should be used only with a fixed pitch font, and with WordWrap set to False.  Confusing results will be obtained with a proportional font or with WordWrap set to True.