Ver Mensaje Individual
  #5  
Antiguo 16-07-2003
Muten Muten is offline
Miembro
 
Registrado: jul 2003
Posts: 33
Reputación: 0
Muten Va por buen camino
Lightbulb

Gracias otra vez marcos, basándome en tu idea, me he puesto con la ayuda de delphi y lo he hecho de ésta forma, a ver q te parece:

Código:
 procedure TfrmRegistro.ApplicationEvents1Exception(Sender: TObject;
  E: Exception);
begin

        if (E is EDBEditError) then
        begin
          if (dbeFecha.Focused) then
          begin
                MessageDlg('¡Fecha incorrecta! ' +#13+dbeFecha.text +#13 +
                'No tiene formato de fecha.',mtWarning,[mbOK],0);
                  dbeFecha.Text :='';
          end
Un saludo!
Responder Con Cita