Ver Mensaje Individual
  #6  
Antiguo 23-07-2010
Lutmak Lutmak is offline
Registrado
 
Registrado: feb 2010
Posts: 6
Reputación: 0
Lutmak Va por buen camino
muchas gracias a todos encontre la solocion a mi problema con ayuda de ustedes!
gracias

aqui dejo el code por si alguien mas en algun futuro la nesesitara..
Código:
procedure TForm1.Button1Click(Sender: TObject);
begin
 if edit1.text ='' then
 begin
   beep;
   statictext1.Caption :=#0;
   showmessage ('ingrese un valor valido');
 end else
 if edit2.text ='' then
 begin
   beep;
   statictext1.Caption :=#0;
   showmessage ('ingrese un valor valido');
 end else

 statictext1.Caption :=floattostr ( strtofloat (edit1.text)+ strtofloat (edit2.text));

end;
end.
Responder Con Cita