Image control graphic equalizer/visualizer

mikel77
03-21-2004, 12:31 PM
This has probably been answer before but i cant find it so. Im trying to make a graphic visualization for an mp3 player. I have made an image and used the image control to display it. I then use the height property to change the height of the image in time to the music like a graphic equalizer/visualizer this works but not quite as expected. The bottom of the image moves up and down instead of the top which is what i want. Does anybody know how to change the hight from the top down rather than the bottom up.

GavinO
03-21-2004, 03:48 PM
What you want to do is adjust both the Top and Height properties at the same time:

Image1.Top=Max_Top+(Max_Value-Value)
Image1.Height=Value

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum