Autor Beitrag
spoof
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: Fr 27.12.13 17:43 
Ich weiß nicht wieso aber mein Delphi macht plötzlich Probleme wenn ich nur eine Messagebox ausgeben will:


ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.Button1Click(Sender: TObject);
begin
     messagebox('test');
end;


Inkompatible Typen HWND und String
Hatte das noch nie warum ist das auf einmal falsch???

Moderiert von user profile iconMartok: Delphi-Tags hinzugefügt
Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Fr 27.12.2013 um 23:43
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 27.12.13 17:46 
Könnte daran liegen, dass der Befehl, den du suchst, ShowMessage heißt...

Empfehlenswert wäre aber eher Application.MessageBox oder eben MessageBox, aber mit den korrekten Parametern.

Für diesen Beitrag haben gedankt: spoof
spoof Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: Fr 27.12.13 17:47 
Oh man ich idiot...
Ich hasse es ich verwechsel immer Befehle mit Javascript.