Hallo erstmal!
Ich bin ein absolut blutiger Anfänger, also bitte nicht hauen, wenn jetzt eine n00b Frage kommt....
Also:
Ich möchte, dass wenn man im mediaplayer auf play drückt ein Bild erscheint...
Ich habe dazu folgendes eingegeben:
Quelltext
1: 2: 3: 4: 5:
| begin Mediaplayer1.Show if Mediaplayer1.Play then image1.Show;
end; |
Jedoch erhalt ich beim testen immer eine Fehlermeldung:
Quelltext
1: 2: 3: 4:
| [Error] Unit1.pas(38): Missing operator or semicolon [Error] Unit1.pas(38): Type of expression must be BOOLEAN [Error] Unit1.pas(38): Statement expected, but expression of type 'Boolean' found [Fatal Error] Test2.dpr(6): Could not compile used unit 'Unit1.pas' |
Also ich hab keine Ahnung, was ich jetzt machen soll....
Thx for help
P.S.:Ich benutze Delphi 6.0 Personal(us version)
Ich bin ein absoluter n00b in Sachen programmieren...