rvico TRichView Reference | TRVStyle

TRVStyle.DefUnicodeStyle

Top  Previous  Next

A default text style for Unicode operations.

property DefUnicodeStyle: Integer;

(Introduced in version 1.3)

If set to value >=0, RichViewEdit will switch to this style before inserting Unicode text (if the current style is not Unicode).

Examples of such operations: inserting Unicode text (may be from file), pasting Unicode text, inserting data from IME (Input Method Editor).

Warning: be very careful when using this property in applications that store collection of text styles in RVF documents. Value of this property is not stored in RVF! Generally, it not recommended to use this property in the default "allow adding styles dynamically" mode, but it may be useful in "use a predefined set of styles" mode, see TRichView component editor.

Default value:

-1

See also properties:

TextStyles.

See also:

Unicode in RichView.


TRichView © trichview.com