![]() |
Re: schleife will einfach nicht.
Ich würde das eher so machen:
Delphi-Quellcode:
type
TPingForm = class(TForm) ... private IsPing: Boolean; ... end; procedure TPingForm.PingTimerTimer(Sender: TObject); const sPing: array[Boolean] of String = ('Pong','Ping'); begin IsPing := not IsPing; Label1.Caption := sPing[IsPing]; end; |
Re: schleife will einfach nicht.
Vom Prinzip her das gleiche, aber besser :wink:
Sitz hier nur grade in Informatik und langweile mich, hatte keine Lust, mir was besseres zu überlegen :-D |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:07 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz