API:Vcl.ComCtrls.TCustomRichEdit.DoSetMaxLength

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

Delphi

procedure DoSetMaxLength(Value: Integer); override;

C++

virtual void __fastcall DoSetMaxLength(int Value);

プロパティ

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

説明

MaxLength プロパティを設定します。

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

MaxLength プロパティを設定します。

DoSetMaxLength メソッドは MaxLength プロパティにアクセスする関数です。DoSetMaxLength はプロテクトメソッドとして定義されているので,TCustomEdit の下位オブジェクトは MaxLength プロパティの実現方法をカスタマイズできます。

DoSetMaxLength は編集コントロールのウィンドウに EM_LIMITTEXT メッセージを送ります。

関連項目