Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

how to customize a knob

I would like to know how to customize a knob in visual basic.net using measurement studios.  I would like to have only 4 possible numbers a user can select, 10%,20%,50% and 100% and i would like to space them out as i see fit, not on a linear scale or logarithmic scale.  Is this able to be done?
0 Kudos
Message 1 of 2
(2,866 Views)
Hi Joe!

There are no default methods set up to accomplish what you desire, but I think that I have created and attached a sample for you that should be close to what you were wanting.  I did this by setting up four custom divisions and hiding the default major and minor divisions.  I then wrote some simple code that coerced the knob to one of these four custom divisions when the knob was turned.  I think that this is the best method short of creating a custom control.  Let me know if you have any further questions!

Nick Beer
0 Kudos
Message 2 of 2
(2,838 Views)