Page 1 of 1

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

Posted: Mon Jan 28, 2013 9:43 am
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

Posted: Mon Jan 28, 2013 10:52 am
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 )