TCustomRichViewEdit.CurItemStyle (read-only)

<< Click to display table of contents >>

TCustomRichViewEdit.CurItemStyle (read-only)

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:


See also properties:



See also:

Item types.