rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.CurParaStyleNo

Top  Previous  Next

Index of the current paragraph style in the collection of paragraph styles.

property CurParaStyleNo: Integer;

This is an index in the collection Style.ParaStyles.

This is a style of paragraph containing caret.

Value of this is changed when the user moves the caret to another paragraph or edits the document, or when some methods are called. When this property is changed, OnCurParaStyleChanged event occurs.

Usually you do not need not to assign value to this property directly, use ApplyParaStyle or ApplyParaStyleConversion methods instead.

This property must be accessed only when the document is formatted.

See also methods:

ApplyParaStyle;

ApplyParaStyleConversion.

See also properties:

CurTextStyleNo.

See also events:

OnCurParaStyleChanged.

See also:

Working with paragraphs.


TRichView © trichview.com