Vcl.ComCtrls.TCustomRichEdit.GetSelLength

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

Delphi

function GetSelLength: Integer; override;

C++

virtual int __fastcall GetSelLength();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

説明

SelLength プロパティを返します。

GetSelLength メソッドは継承メソッドをオーバーライドして,書式付き編集ウィンドウの SelLength プロパティを実装します。また,GetSelLength は編集コントロールのウィンドウに EM_EXGETSEL メッセージを送り,開始位置と終了位置の間の長さを返します。

関連項目