Autor Beitrag
Massiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 93



BeitragVerfasst: Mo 04.05.09 15:01 
Hallo

Ich versuche grad die position anzeige der musik mit einem label anzuzeigen mit folgendem code
ausblenden Delphi-Quelltext
1:
label1.Caption:= bassdllplayer1.GetSongLengthAsString;					

nur aus welchem grunde auch immer zeigt er am anfang immer 00:-01, bevor eine musik abgespielt wird!
WArum?
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 04.05.09 15:06 
Könnte daran liegen, dass der Player die Länge nicht kennt, wenn das Lied noch nicht abgespielt wird, und die Methode GetSongLength (?) dann -1 zurückliefert, was die GetSongLengthAsString-Methode dann kreativ so formatiert. :nixweiss:

_________________
We are, we were and will not be.