API:Vcl.ComCtrls.TCustomRichEdit.DoSetMaxLength
Delphi
procedure DoSetMaxLength(Value: Integer); override;
C++
virtual void __fastcall DoSetMaxLength(int Value);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomRichEdit |
Description
Définit la valeur de la propriété MaxLength.
Vcl.ComCtrls.TCustomRichEdit.DoSetMaxLength hérite de Vcl.StdCtrls.TCustomEdit.DoSetMaxLength. Tout le contenu en-dessous de cette ligne se réfère à Vcl.StdCtrls.TCustomEdit.DoSetMaxLength.
Définit la valeur de la propriété MaxLength.
DoSetMaxLength est la fonction d'accès à la propriété MaxLength. Elle est exposée comme méthode protégée afin que les descendants de TCustomEdit puissent personnaliser l'implémentation de la propriété MaxLength.
DoSetMaxLength envoie un message EM_LIMITTEXT à la fenêtre du contrôle de saisie.