Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.07.10;
Скачать: 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 вся ветка

Текущий архив: 2003.07.10;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.025 c
3-31121
Bayer_Linse
2003-06-17 23:43
2003.07.10
Проектирование БД


1-31183
Mishenka
2003-06-27 23:50
2003.07.10
Глюки при создании узда в TreeView...


14-31495
k-man
2003-06-24 14:56
2003.07.10
Реестр


14-31518
TCrash
2003-06-25 14:40
2003.07.10
проблема с кодеками


7-31529
GIMLI
2003-04-20 13:53
2003.07.10
имя Материнской платы