![]() |
Prozedure anrufen?
Hallo zusammen,
Wie kann ich Prozedure Notification anrufen?
Delphi-Quellcode:
Fehler bei Linie 8:
1. procedure TForm7.Timer4Timer(Sender: TObject);
2. var 3. Temp: string; 4. begin 5. Temp := FindMelding2(txtLog.Lines.Text); 6. if Temp <> '' then 7. consoleLog.Lines.Add(Temp)) and 8. notification 9. end; 10. procedure TForm7.Notification; 11. begin 12. if ((CheckBox1.Checked = True) and 13. (LabeledEdit1.Text <> ‘’) then 14. SendOutlookMail; Operator not applicable to this operand type Meine Hoffnunf liegt nun bei euch! Peter Kiers |
Re: Prozedure anrufen?
Ich weiß nicht, was das wird, aber wenn, dann so:
Delphi-Quellcode:
Nachtrag: Klammer entfernt, da ist bei dir eine zuviel.
[...]
if Temp <> '' then begin consoleLog.Lines.Add(Temp); notification; end; |
Re: Prozedure anrufen?
nicht mit and verknüpfen sondern in
begin und end verschachteln ![]() vielleicht solltest du dir das vorher mal anschaun :) |
Re: Prozedure anrufen?
Delphi-Quellcode:
//Edit: Kein roter Kasten
procedure TForm7.Timer4Timer(Sender: TObject);
var Temp: string; begin Temp := FindMelding2(txtLog.Lines.Text); if Temp <> '' then begin consoleLog.Lines.Add(Temp)); notification; end; end; |
Re: Prozedure anrufen?
Ich Dank euch!
Peter Kiers |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:04 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