LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 
LJHerskowitz

Give Control a Property to Disable Window Shift on Mouse Wheel Scroll

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

When scrolling over a text box using the mouse wheel, the window will not shift up or down. However, scrolling over other controls for example a graph it will shift the window up or down. This limits the functionality of the mouse wheel over these controls. It would be nice to have a property associated with each control to disable window shifting when scrolling over the control.

 

Also and this might be another suggestion, but a Mouse Wheel? event could also be helpful. That or combine it with Mouse Down? event.

8 Comments
AristosQueue
Proven Zealot

This feature already exists. If you do not want the string control to take the mouse wheel event, hide the scrollbar on that control. Giving the mouse wheel event to the string control when it has a scrollbar is consistent with every browser and other platform/application that we observed when designing the feature.

 

Please file the request for Mouse Wheel? as a separate idea.

LJHerskowitz
Member

I guess I was unclear. I don't want to take away that function from the string. I do not want the window to shift up or down when I use the scroll wheel on other controls for example XYGraph.

AristosQueue
Proven Zealot

Ah. I see. You are correct -- *that* functionality is not in LabVIEW today.

P@Anand
Trusted Enthusiast

 I guess I was unclear. I don't want to take away that function from the string. I do not want the window to shift up or down when I use the scroll wheel on other controls for example XYGraph.

 

Do you mean this during the Edit mode or Run mode?

-----

The best solution is the one you find it by yourself
muks
Proven Zealot

Ah i would say a good find.

LJHerskowitz
Member

I didn't think if this would work better as an edit mode property or something you can change with say a property node. I guess it would come down to how it works under the hood.

Christina_R
Active Participant

If a control handles the mouse wheel natively, then the panel does not "receive" the event and does not scroll.

 

In the case of graphs, you can set the graph's BuiltInMouseWheelSupport property to On Hover and then the wheel over the graph will not scroll the panel. The graph doesn't have built-in mouse wheel behavior, so this property doesn't make it behave any differently. 

 

Of course, this is not a complete solution, because if the control did have built-in mouse wheel behavior, then that might not be desireable.

 

Another "workaround" is to design panels that do not scroll, but use some form of progressive disclosure (e.g. a tab control). In many cases, I find such layouts to be easier to use than scrolling panels.


Christina Rogers
Product Owner, LabVIEW R&D
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

DNatt, NI