RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTextAttributes.Protected Property

Indicates whether the text represented by the TTextAttributes object is protected.

Pascal
property Protected: Boolean;
C++
__property Boolean Protected;

Protected text can't be changed by the user. When the user attempts to edit a selection that includes protected text, the rich edit control calls the OnProtectChange event handler. The OnProtectChange event handler can then permit or disallow the editing of the protected text. If there is no OnProtectChange event handler, protected text is read-only. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!