Vcl.ComCtrls.TTextAttributes.Protected

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property Protected: Boolean read GetProtected write SetProtected;

C++

__property bool Protected = {read=GetProtected, write=SetProtected, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTextAttributes

説明

TTextAttributes オブジェクトの表すテキストが保護されているかどうかを示します。

Protected で保護されたテキストをユーザーが変更することはできません。保護されたテキストを含んだ選択範囲の編集をユーザーが試みると,書式付き編集コントロールは OnProtectChange イベントハンドラを呼び出します。OnProtectChange イベントハンドラは,保護されたテキストの編集を許可したり禁止したりできます。OnProtectChange イベントハンドラがない場合,保護されたテキストは読み出し専用になります。

関連項目