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.

Hypertext in read-only mode works automatically (user does not need to press and hold  Ctrl  key), if rvoNoReadOnlyJumps is not included in EditorOptions.

Default value:

False

See also events:

OnChanging.