Tuesday, February 19, 2008 5:33 PMDear friend,
i am using vb.net2005 express edition
is this possible to create Graphic frequency Equalizer in vb.net.becos i am doing vibration monitoring system project.so i need to create Graphic frequency Equalizer .so i have to build scrolable control to increase and decrese the frequency values using the contol..is this possible to create in vb.net if means please show me if there is any link or example for this please
Wednesday, February 20, 2008 11:20 AM
Use TrackBar rather than a scrollbar. You could have a row of track bars each oriented vertically, set min and max values and set the tick mark spacing and tick style. Then attach the scroll event to get its value to send to the vibration rig controller.
Wednesday, February 20, 2008 2:48 PMDear friend,
Actually i need to fill red color inside VScrollbar.is it possible to use. becos while scrolling the intensity of the redcolor has to change .but i have use one control for both(scrolling and filling color inside the scrollbar). please help me to achieve this please
Wednesday, February 20, 2008 3:24 PM
System.Windows.Forms.TrackBarRenderer.DrawVerticalTrack(ByVal System.Drawing.Graphics, ByVal System.Drawing.Rectangle)
Or set the BackColor:
Wednesday, February 20, 2008 5:25 PMDear Friend,
thanks a lot for your genius reply.i run your code. but it shows redcolor.is it possible to bring all the colors in back of trackbar? so depends the color intesity change. is this possible?if means please let me know the way.pls show some sample code please
Wednesday, February 20, 2008 6:34 PM
You initially said you wanted to change the redcolor, but now you want the other colors back in. I'm not sure what that means. There are an infinite number of colour variations. It's up to you to fine tune exactly how you want it to look. So moving from the realm of genius code to genius art, here's few suggestions:
The colours are a combination of Alpha (opacity), Red, Green and Blue. It's like an artist's pallette. It's up to you how you mix them.
Wednesday, February 20, 2008 6:47 PM
Here's another suggestion:
Run it in debug mode (F5) to see the list of colours in the Intermediate Window (Ctrl+G).
Thursday, February 21, 2008 9:46 AM