Вниз
Скачать: 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.018 c
1-31360
Vick
2003-06-27 17:44
2003.07.10
Закрытие ДОС-окна после выполнения процедуры разархивации файлов


1-31355
Anonimus
2003-06-27 15:42
2003.07.10
TBitmap в array of Byte


3-31071
rosl
2003-06-16 02:40
2003.07.10
не работает поиск


4-31568
DNT
2003-05-09 22:48
2003.07.10
Чужой statusbar


1-31210
Ilg
2003-06-28 18:09
2003.07.10
Перерисовка родительского компонента




   Наверх