Einzelnen Beitrag anzeigen

perle

Registriert seit: 8. Apr 2004
183 Beiträge
 
Delphi 7 Enterprise
 
#4

Re: Entscheidungen bei Edit treffen

  Alt 23. Dez 2004, 11:43
if (edit1.Text <> '') AND (edit2.Text <> '') then edit3.Text := IntToStr(StrToInt(Edit1.Text) - StrToInt(Edit2.Text));
if (edit2.Text <> '') AND (edit3.Text <> '') then Edit1.Text := IntToStr(StrToInt(Edit2.Text) + StrToInt(Edit3.Text));
  Mit Zitat antworten Zitat