Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Problem mit "if not" (meine Frage war falsch) (https://www.delphipraxis.net/69769-problem-mit-if-not-meine-frage-war-falsch.html)

Ironmaster 19. Mai 2006 18:09


Problem mit "if not" (meine Frage war falsch)
 
Hallo erstmal
ich habe ein problem mit "if not".
ich möchte in Label1.Caption z.B. "Ziel" reingeschreiben bekommen unter der Bedingung, dass in Edit1.Text und Edit2.Text etwas steht.

Mein Versuch:
Delphi-Quellcode:
if Not ((Edit1.Text='') And (Edit2.Text='')) then Label1.Caption:='Ziel';
aus irgendeinem grund will es einfach nicht funktionieren. warum?
und wenn das mit "if not" gar nicht möglich ist, wie ist es dann zu lösen?

danke schon mal im voraus

Helmi 19. Mai 2006 18:11

Re: Problem mit "if not" (meine Frage war falsch)
 
wieso nochmal ein Thread mit dem gleichen Thema?

SirThornberry 19. Mai 2006 18:13

Re: Problem mit "if not" (meine Frage war falsch)
 
Da es das Thema schon einmal gibt (und einmal reicht) mach ich hier zu



*** LOCKED ***


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:44 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz