Vcl.StdCtrls.TCustomEdit.DoSetMaxLength
Delphi
procedure DoSetMaxLength(Value: Integer); virtual;
C++
virtual void __fastcall DoSetMaxLength(int Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomEdit |
Description
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.