Is it possible to set ONLY a word (...) to READONLY:= true ?

General TRichView support forum. Please post your questions here
Post Reply
j&b
Posts: 184
Joined: Mon Sep 05, 2005 1:35 pm

Is it possible to set ONLY a word (...) to READONLY:= true ?

Post by j&b »

Hello,

is it possible to set only a word (line, paragrapgh) in a TDBRIchViewEdit to readOnly:= true ?

Background:
I can hide a word (font.color:= clWhite).

a) If I forget that in a line is a hidden word perhaps I delete this line ?
b) if I press crtl+a all text is mark (my hidden word too).

What can I do against a) and b) ?

j&b
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) You can disallow deleting some text item by applying a text style having rvprDeleteProtect in Protection (see http://www.trichview.com/help/idh_tcust ... ction.html )
2) You can hide the text item competely by applying a text style having rvteoHidden in Options (see http://www.trichview.com/help/idh_tcust ... tions.html )
Post Reply