Autor Beitrag
max120b
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33

WinXP, Linux 9.0
Delphi 2005 Professional
BeitragVerfasst: Di 15.03.05 13:07 
Moin Leuz.
Hab da n problem mit der Anzeige der aktuellen Position des Titels, den ich grade abspiele. Wenn ich das mit
ausblenden Delphi-Quelltext
1:
2:
3:
Label1.Caption:=IntToStr(MCI_THMS_Hour(Mediaplayer1.Position))+':'+
                IntToStr(MCI_THMS_Minute(Mediaplayer1.Position))+':'+
                IntToStr(MCI_THMS_Second(Mediaplayer1.Position));

versuche, krieg ich da Angaben raus die etwa so aussehen:
224:123:2:0 :autsch: .
Ich will aber die Minuten, Sekunden usw. auslesen.
Kann mir vielleicht jemand Helfen?

Danke schon mal im Vorraus.

Max120b

Moderiert von user profile iconChristian S.: <code>- durch Delphi-Tags ersetzt
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 15.03.05 13:43 
ich nehme mal an, du hast das Zeitformat nicht angegeben? :wink:

ausblenden Delphi-Quelltext
1:
  MediaPlayer.TimeFormat := tfTMSF;					


Zuletzt bearbeitet von jaenicke am Do 17.03.05 13:22, insgesamt 1-mal bearbeitet
max120b Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33

WinXP, Linux 9.0
Delphi 2005 Professional
BeitragVerfasst: Do 17.03.05 11:06 
Danke. Ich werds mal probieren.

max120b