Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TMediaPlayer - how can I get current track position (time)?

Status
Not open for further replies.

doctorjellybean

Programmer
May 5, 2003
145
I would like to display the length of a track being played with TMediaPlayer, as well as the current position.

The length is no problem, as I can get that by using

var Duration:integer;

Duration:=MediaPlayer1.Length;


However, I can't see anything which gets the current time/length/position as the track is being played.

Thanks in advance.
 
MediaPlayer1.Position

I'm waiting for the white paper entitled "Finding Employment in the Era of Occupational Irrelevancy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top