Jump to content

Allowing user to set range of gauge using mouse


Recommended Posts

I am trying to figure out how to let the user change the range of a gauge by using the mouse. So they could click on the scale, and drag the mouse and it would increase or decrease the range.

I am trying to allow the user to "zoom" in the range on the gauge to get a better look at the reading, without having the user to clock on a control (using a numeric control that is tied to the range property node.)

I was thinking that you could possibly use the mouse move event when in the bounds of the gauge and whether they moved the mouse up or down would increase/decrease the range, but I thought that there must be a simplier way to implement this that I am missing.

Thanks.

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.