Fórum Um unico tipo de informação no LabeledEdit #188146
12/10/2003
0
Ae, eu to fazendo uma agenda, e quero k no LabeledEdit1 so aceite numeros, letras outro tipo de informação ñ aceita.
Bigtama
Curtir tópico
+ 0
Responder
Posts
12/10/2003
Beppe
Coloque no OnKeyPress:
if (Key <> #9) or not IsCharAlphaNumeric(Key) then Key := 0;
Ataliba
if (Key <> #9) or not IsCharAlphaNumeric(Key) then Key := 0;
Ataliba
Responder
Gostei + 0
12/10/2003
Aristodemo
no OnKeyPress...
if not (Key in [´0´..´9´, #13, chr(VK_BACK)]) then Key := 0;
Abraços...
if not (Key in [´0´..´9´, #13, chr(VK_BACK)]) then Key := 0;
Abraços...
Responder
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)