rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.CurItemStyle (read-only)

Top  Previous  Next

Style (i.e. type) of item at the position of caret

property CurItemStyle: Integer;

The same as TopLevelEditor.GetItemStyle(TopLevelEditor.CurItemNo).

If the current item is a text item, this function returns zero or positive value: index in the collection of text styles (Style.TextStyles).

Otherwise, this function returns a type of this item: see rvsXXX constants.

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

See also methods:

GetItemStyle.

See also properties:

CurItemNo;

CurTextStyleNo.

See also:

Item types.


TRichView © trichview.com