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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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