Autor Beitrag
DelphiDelphin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 181



BeitragVerfasst: Mi 20.04.05 13:01 
Hi leutz wiso funzt des net :?
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
procedure TForm3.BitBtn2Click(Sender: TObject);
begin
If  mediaplayer1.Pause  then
mediaplayer1.play
else
mediaplayer1.pause;

end;

end.



Moderiert von user profile iconGausi: Topic aus Sonstiges verschoben am Mi 20.04.2005 um 14:17
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Mi 20.04.05 13:05 
weil pause eine prozedur und keine eigenschaft ist ?

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
DelphiDelphin Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 181



BeitragVerfasst: Mi 20.04.05 13:11 
wie muss ich es den richtig machen :roll:
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 20.04.05 13:15 
So sollte es gehen:
ausblenden Delphi-Quelltext
1:
if Mediaplayer1.Mode = mpPlaying then //...					

Weitere Hilfe in der OH unter Mediaplayer->Mode

_________________
We are, we were and will not be.