Fórum Total de caractere digitado no EDIT #217683
02/03/2004
0
:arrow: Qual código usar pra fazer a contagem do total de caracteres digitado em um EDIT?
Vlw!
Educdc
Curtir tópico
+ 0Posts
02/03/2004
Lucas Silva
var tamanho: integer; . . tamanho := Length(edit1.text);
Gostei + 0
02/03/2004
Educdc
Se total de caracteres digitado no edit for = 5 então está correto, senão está errado!
Gostei + 0
02/03/2004
Vieira_alex
procedure TForm1.Button1Click(Sender: TObject);
var
verifica :integer;
begin
verifica := length(Edit1.Text);
if verifica = 5 then
Showmessage(´Está Correto´)
else
Showmessage(´Não está correto´);
end;
blz....
Gostei + 0
02/03/2004
Educdc
Gostei + 0
03/03/2004
Schneider
brigadam beijos
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)