Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi TIdIRC [Indy] Problem (https://www.delphipraxis.net/40770-tidirc-%5Bindy%5D-problem.html)

Toenn 21. Feb 2005 14:08

Re: TIdIRC [Indy] Problem
 
jo stimmt aber alle nacheinander, das heißt wenn vor mir 3 nicks stehen sagt der 3 ma das ich nich allowed bin und dann ers is ok^^

Pseudemys Nelsoni 21. Feb 2005 14:16

Re: TIdIRC [Indy] Problem
 
wenn du nur willst das nur 1mal kommt das du nicht allowed bist, dann brich die schleife einfach ab wenn die bedingung "true" ist

mit anderen worten, nach deinem "if auser.... then begin" füg noch "break;" am ende an. also nach

Delphi-Quellcode:
IdIRC1.Say(Label2.Caption, 'You are not allowed to change the Topic.');
oder wo auch immer du den schleifen abbruch brauchst^^


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:41 Uhr.
Seite 2 von 2     12   

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