API:Vcl.ComCtrls.TCustomRichEdit.DoSetMaxLength
Delphi
procedure DoSetMaxLength(Value: Integer); override;
C++
virtual void __fastcall DoSetMaxLength(int Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomRichEdit |
Description
Sets the MaxLength property.
Vcl.ComCtrls.TCustomRichEdit.DoSetMaxLength inherits from Vcl.StdCtrls.TCustomEdit.DoSetMaxLength. All content below this line refers to Vcl.StdCtrls.TCustomEdit.DoSetMaxLength.
Sets the MaxLength property.
DoSetMaxLength is the property access function for the MaxLength property. It is exposed as a protected method so that descendants of TCustomEdit can customize the implementation of the MaxLength property.
DoSetMaxLength sends an EM_LIMITTEXT message to the window of the edit control.