TParaInfo.NextParaNo

<< Click to display table of contents >>

TParaInfo.NextParaNo

Defines the paragraph style for following paragraphs.

property NextParaNo: Integer;

(Introduced in version 1.4)

This property may contain either an index in Style.ParaStyles, or the value -1.

This property is used in RichViewEdit, only if UseStyleTemplates=False. When a user presses  Enter  key at the end of a paragraph of this style, a new empty paragraph will be created using this property. If NextParaNo=-1 then this new line will have the same paragraph style as the current paragraph.

If UseStyleTemplates=True, this property is ignored, NextId property of the paragraph's style template is used instead.

Default value:

-1

See also:

TFontInfo.NextStyleNo.