Вниз
Скачать: CL | DM;

Media Player   Найти похожие ветки 

 
UserUserov   (2004-09-26 17:51) [0]

Как определить закончил ли MP проигрывать файл. Может
есть сообение уведомляющее об этом?


 
programania ©   (2004-09-26 20:17) [1]

событию Notify указать обработку как в справке Delphi:
и проверять значения ModeStr[Mode]

const
 ModeStr: array[TMPModes] of string = ("Not ready", "Stopped", "Playing", "Recording", "Seeking", "Paused", "Open");

procedure TForm1.MediaPlayer1Notify(Sender: TObject);

begin
 with Sender as TMediaPlayer do
 begin
   Form1.Caption := ModeStr[Mode];
   { Note we must reset the Notify property to True }
   { so that we are notified the next time the }
   { mode changes }
   Notify := True;
 end;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.02 c
3-1101157948
Константинов
2004-11-23 00:12
2004.12.19
Простой вопросик. Доступ к полям БД


14-1101969297
Layner
2004-12-02 09:34
2004.12.19
Кто нибудь плотно занимался SFX архивами в WinRAR?


1-1102314727
Adis Tadas
2004-12-06 09:32
2004.12.19
как вернуть _Recordset из DLL ?


3-1100846936
GuV
2004-11-19 09:48
2004.12.19
DBGrid


4-1099768006
Wiz@rd
2004-11-06 22:06
2004.12.19
Как убрать бордюр у меню?




   Наверх