rvico TRichView Reference | TRichView

TCustomRichView.FormatTail

Top  Previous  Next

Formats a part of document appended after the last call of Format or FormatTail.

procedure FormatTail;

This method works properly only if new items were added from new line (as new paragraphs) after the last call of Format or FormatTail.

It's much more efficient to reformat only a new part of the document than making a full reformatting.

This method is designed specially for chat/log windows. Together with DeleteParas, it allows updating chat windows faster, without complete reformatting.

If rvoFormatInvalidate in Options, this method also repaints RichView.

 

See also methods:

Format;

DeleteParas.

See also properties:

Options;

VScrollVisible.

See also:

Appending items.


TRichView © trichview.com