Ver Mensaje Individual
  #5  
Antiguo 13-10-2005
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - Espańa
Posts: 18.323
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Puedes hacer la siguiente prueba:

Código Delphi [-]
  var
   i: integer;
 begin
   try
     i := StrToInt(Edit1.Text);
   except
     on E:Exception do begin
       ShowMessage('Error: ' + E.Message + '  ClassName: ' + E.ClassName);
     end;
   end;
 end;

Con eso deberías saber si estás capturando la Excepción del tipo correcto (EConvertError).
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita