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

FileListBox + problema=?   Найти похожие ветки 

 
spogi   (2003-03-23 01:44) [0]

znacit ne bolshaya problema...
sozdal ya Pleyer, 2 raza kliknyu na FileListBox"e i nacinaetsya proigrivatel MediaPleyer, a teper nujna poymat okonchaniyu i pereyti na sleduyushuyu pesnyu...


 
spogi   (2003-03-25 00:09) [1]

a pocemu, nikto daje ne vstrechal takogo?


 
Kair ©   (2003-03-25 07:29) [2]

Можно и в таймере:
if MediaPlayer1.Position=MediaPlayer1.Length then ...
А может и ещё как-то можно.
PS: А что такое FileListBox?


 
Intell ©   (2003-03-25 07:37) [3]

procedure TForm1.MediaPlayer1Notify(Sender: TObject);
begin
with MediaPlayer1 do
if NotifyValue = nvSuccessful then
begin
filelistbox1.Itemindex:=filelistbox1.Itemindex+1;
MediaPlayer1.filename:=directorylistbox1.directory +filelistbox1.Items[filelistbox1.ItemIndex];
Play;
end;
end;

Дальше работай сам, помоему проще некуда. Может код глючить, т.к. набирал по памяти. В целом - посмотри, как этого можно достичь.



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

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



Память: 0.45 MB
Время: 0.013 c
14-31486
oleg_art
2003-06-24 17:54
2003.07.10
Отправка сообщения в порт


1-31295
Smirnoff
2003-06-26 15:22
2003.07.10
Найти и заменить


14-31417
Шоломицкий
2003-06-24 12:20
2003.07.10
Где достать?


1-31201
Still Swamp
2003-06-19 09:46
2003.07.10
record и процедуры


7-31551
Neznaika
2003-04-27 14:16
2003.07.10
Поблема с ctrl_alt_del в xp




   Наверх