API: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 プロパティを返します。

Vcl.ComCtrls.TCustomRichEdit.GetSelLength は Vcl.StdCtrls.TCustomEdit.GetSelLength を継承しています。以下の内容はすべて Vcl.StdCtrls.TCustomEdit.GetSelLength を参照しています。

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

GetSelLength は,SelLength プロパティ用のプロパティアクセス関数です。SetSelLength は Protected メソッドとして定義されているので,TCustomEdit の派生オブジェクトは SelLength プロパティの実装をカスタマイズできます。

また,GetSelLength は編集コントロールのウィンドウに EM_GETSEL メッセージを送り,開始位置と終了位置の間の長さを返します。

関連項目