Vcl.StdCtrls.TCustomEdit.DoSetMaxLength

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure DoSetMaxLength(Value: Integer); virtual;

C++

virtual void __fastcall DoSetMaxLength(int Value);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

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.

Voir aussi