D D影子D Unregistered / Unconfirmed GUEST, unregistred user! 2002-03-24 #2 用一个timer控件检测mediaplayer1.position是否等于mediaplayer1.length 用if语句就可知道! 或者 procedure TForm1.MediaPlayer1Notify(Sender: TObject); begin if mediaplayer1.position=medipalyer1.length then showmessage('stop'); end;
用一个timer控件检测mediaplayer1.position是否等于mediaplayer1.length 用if语句就可知道! 或者 procedure TForm1.MediaPlayer1Notify(Sender: TObject); begin if mediaplayer1.position=medipalyer1.length then showmessage('stop'); end;
Z zhihuali Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-24 #3 procedure TForm1.MediaPlayer1Notify(Sender: TObject); begin if MediaPlayer1.Mode = mpStopped then .....// 已经停止播放; end;
procedure TForm1.MediaPlayer1Notify(Sender: TObject); begin if MediaPlayer1.Mode = mpStopped then .....// 已经停止播放; end;