TCustomRichViewEdit.ReadOnly

<< Click to display table of contents >>

TCustomRichViewEdit.ReadOnly

When set to True, this property prevents user's input in the editor; it also blocks execution of all editstyle editing-style methods.

property ReadOnly: Boolean;

This property does not affect viewerstyle viewer-style methods.

Editor hides the caret in read-only mode, if rvoHideReadOnlyCaret is in EditorOptions.

Since version 1.6, hypertext in read-only mode works automatically (user does not need to press and hold  Ctrl  key).

Default value:

False

See also events:

OnChanging.