Autor Beitrag
Jojojoxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: So 19.06.05 16:26 
Hallo!

Ich verzweifele hier total an einer blöden IF-Anweisung. Ich möchte, dass 3 Dinge überprüft werden, treffen diese alle drei zu, soll ein bestimmter Code ausgeführt werden, wenn eins der dreien nicht zutrifft, soll der Code NICHT ausgeführt werden. Hier ist mein Code dazu:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
if (radiobutton7.Checked=True) and (checkbox1.enabled=True) and (StrToInt(edit1.text)<1 + StrToInt(Zeile4)) then
begin
label2.Caption:='Der Eigene Wert muss mind. '+ IntToStr(1 + StrToInt(Zeile4)) + ' Min. betragen!';
label2.Visible:=True;
exit;
end;


Warum klappt das denn nicht???
Danke euch für die Hilfe!

mfg

Jojo

Moderiert von user profile iconChristian S.: Quote- durch Delphi-Tags ersetzt.
Moderiert von user profile iconChristian S.: Topic aus VCL (Visual Component Library) verschoben am So 19.06.2005 um 17:50
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: So 19.06.05 18:30 
Hi!

Hab das Problem gelöst, hatte aber Nix mit der IF-Anweisung zu tun!!!

mfg

Jojo