Вниз
Скачать: 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
6-1097084387
Stas_on
2004-10-06 21:39
2004.12.19
Как узнать IP компа в сетке из 12+1 компов?


14-1101486329
DelphiLexx
2004-11-26 19:25
2004.12.19
Локальный перехват WinApi


14-1101395700
kdv
2004-11-25 18:15
2004.12.19
о Delphi 2005, если интересно


4-1099863792
Змей
2004-11-08 00:43
2004.12.19
Логин


4-1099935287
nof
2004-11-08 20:34
2004.12.19
Manual Memo




   Наверх