Ver Mensaje Individual
  #6  
Antiguo 29-03-2004
Isaac Isaac is offline
Miembro
 
Registrado: feb 2004
Ubicación: Ferrol
Posts: 77
Reputación: 21
Isaac Va por buen camino
Yo uso un try. Declaro una variable entera y hago esto:

var
a:integer;
begin
try
a:=StrToInt(txtNumero.Text);
except
showmessage("El campo debe ser numérico");
end;
end;
__________________
Me llamo Ińigo Montoya. Tú mataste a mi padre. Prepárate a morir

Mi foro: http://gandalfmithrandir.foro.st
Responder Con Cita