Fórum obrigar digitação de números. #289300
24/07/2005
0
if key in [´0´..´9´,#8] then
key := key
else
key := 0;
Tem alguma solução melhor que essa ?
Ou criar alguma função com key...
Obrigado
Lynx
Curtir tópico
+ 0Posts
25/07/2005
Sparch
funciona normalmente no Delphi 7 tem um componente que só permite informar números.
Gostei + 0
25/07/2005
Lynx
Gostei + 0
25/07/2005
Rjun
Gostei + 0
25/07/2005
Guilherme
procedure TForm1.Edit1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if Button = mbright then
showmessage(´ixe cara nen da nao !!!´)
end;
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)