dblk22vball Posted October 10, 2008 Report Share Posted October 10, 2008 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. Quote Link to comment
LAVA 1.0 Content Posted October 10, 2008 Report Share Posted October 10, 2008 QUOTE (dblk22vball @ Oct 9 2008, 11:25 AM) 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. This looks like a http://forums.ni.com/ni/board/message?board.id=170&thread.id=360680&jump=true' target="_blank">cross post from the NI forum here where I suggested adding a new run-time right-click menu to do this. If there are better ideas, I'd like to hear them. Ben Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.