rvico TRichView Reference | Item Types

Labels

Top  Previous  Next

"Label" is a non-text item looking like text. It does not support Unicode and cannot be wrapped (always displayed on one line).

Class for this item type is TRVLabelItemInfo (see for detailed information).

Style of this item type: rvsLabel (-200)

Related Properties of TRVStyle

FieldHighlightColor – color for highlighting label items.
FieldHighlightType specifies when to highlight label items.

Methods of TCustomRichView

The following viewer-style method adds item of this type to the end of the document:

AddItem (create TRVLabelItemInfo object, add it using AddItem)

The following method returns TRVLabelItemInfo object

GetItem

Methods of TCustomRichViewEdit

The following editor-style method inserts item of this type in the position of caret:

InsertItem (create TRVLabelItemInfo object, insert it using InsertItem)

The following method returns TRVLabelItemInfo object at the position of caret:

GetCurrentItem.


RichView © Sergey Tkachenko