API:Vcl.ComCtrls.TCustomRichEdit.DoSetMaxLength
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 メッセージを送ります。