FMX.Memo.TCustomMemo.SelText

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

Delphi

property SelText: string read GetSelText;

C++

__property System::UnicodeString SelText = {read=GetSelText};

プロパティ

種類 可視性 ソース ユニット
property public
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo TCustomMemo


説明

メモのテキストのうち、現在選択されている部分を示します。

SelText を使用すると、選択されているテキストを TCustomMemo コントロールから取得することができます。何も選択されていなければ、SelText は空の文字列を返します。メモ コントロールにフォーカスがない場合、SelText は以前に選択されていたテキストの部分を表します。

関連項目

コード例