Fórum Bloqueando a inserção de alguns caracteres... #340023
07/04/2007
0
Outros caracteres não poderam ser aceitos como por exemplo: *,-,.,/, etc...
Carlaisoares
Curtir tópico
+ 0Posts
07/04/2007
Catunda
if (Key=Chr(vk_clear))or(Key=Chr(vk_escape)) then Exit;
if (not(Key in [´0´..´9´]))and(not(Key in [´A´..´W´])) then
begin
ShowMessage(´Somente Números e Letras !!´);
Key:=#0;
end;
Gostei + 0
07/04/2007
Edilcimar
Gostei + 0
08/04/2007
Carlaisoares
Obrigado aos amigos Catunda e Edilcimar.
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)