View Single Post
  #4 (permalink)  
Old 03-11-2008, 06:20 PM
derez derez is offline
Basic4ppc Veteran
 
Join Date: May 2007
Posts: 210
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default track bar

I had the same problem and decided to show the advance of the song by a progress bar, and allow the user to select a new point in the song by moving the track bar - but the track bar is not moving, only by the user:

Sub Timer1_Tick
...
progressBar1.Value = fmod.Position / fmod.Length1 * 100
...
end sub

Sub Bar1_ValueChanged
fmod.Position = bar1.Value * fmod.Length1 /100
End Sub

not ellegant but efficient...
Attached Images
File Type: jpg Screen01.jpg (12.5 KB, 22 views)
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote