From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
asbo

Horizontal Scroll Hotkey

Status: New

Re-opening because of a request to reconsider this functionality for LabVIEW now that LabVIEW NXG has been discontinued.

By default, the mouse scroll wheel scrolls the block diagram or front panel vertically, CTRL+SCROLL scrolls through cases/events/sequences and adding the SHIFT modifer to either accelerates the scroll. In order to scroll horizontally, however, the mouse has to be hovering over the horizontal scrollbar. Because of the predominant left-to-right, top-to-bottom style of diagram organization, it would be excellent to have a more accessible way to scroll horizontally.

 

I haven't found anywhere ALT+SCROLL is used - I think horizontal scrolling is a good candidate to fill that spot.

 

 

31 Comments
BadCop
Member

Any news when it will be implemented? Smiley Happy

Darren
Proven Zealot
@BadCop wrote:

 

Any news when it will be implemented? 

You can scroll panels and diagrams horizontally with Shift-Scroll Wheel in the NI Software Technology Preview. For ideas that are implemented in the tech preview, we have been changing their status to 'In Development'.
 

Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW NXG 1.0. Pressing the Shift key while using the mouse scroll wheel will cause the panel or diagram window to scroll horizontally.

joerg.hampel
Active Participant

I use an Apple mouse on my Macbook and run LabVIEW inside VMWare, and I can use the horizontal scroll function of the Apple mouse in current gen LabVIEW. Any chance that this will be possible in NXG?




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (The Future of Team-Based LabVIEW Development)


MichaelBalzer
Active Participant

For those wanting shift + scroll wheel functionality in Current Gen LabVIEW, you can use the following AutoHotkey script (tested in LV2016 under a Windows 7 SP1 VM):

 

#NoEnv
SendMode Input

#IfWinActive ahk_class LVDChild
+WheelDown::WheelRight
+WheelUp::WheelLeft

 




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
ikaiser
NI Employee (retired)

Thank you a lot @MichaelBalzer for sharing your AHK script, I was searching for something similar for years. Automatically using Shift+Scroll in LabVIEW and seeing that nothing happens made me scream silently every time. I am so used to this feature (I can't come up with a graphical program that does not have it) that I still wonder why LabVIEW does not have it. It totally violates the left-right oriented flow...


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
ikaiser
NI Employee (retired)

Sharing my improved script:

; Shift + scroll wheel functionality in Current LabVIEW
; (tested in LV2016 on Win7SP1, LV2017SP1 on Win10):

; === Don't change anything if no LabVIEW window in focus ===
#NoEnv
SendMode Input

; === Change behavior for LabVIEW windows ===
; Scrollwheel: normal vertical scrolling
; Alt+Scrollwheel: faster vertical scrolling
; Shift+Scrollwheel : horizontal scrolling
; Shift+Alt+Scrollwheel : faster horizontal scrolling
; (Modifiers: + is Shift, ! is Alt)
#IfWinActive ahk_class LVDChild
+WheelDown::Send {WheelRight}
+WheelUp::Send {WheelLeft}
!WheelDown::Send +{WheelDown}
!WheelUp::Send +{WheelUp}
+!WheelDown::Send +{WheelRight}
+!WheelUp::Send +{WheelLeft}

Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
heel
Member

This has been marked by R&D as being completed - for NXG! 

That's pretty useless now.

 

Will the "Idea" be re-opened for implementation in LV?

Are there a particular reason why it takes so _long_ time to implement?

If the idea is bad - then reject it and explain why.

jhgorse
Member

AutoHotKey Solution: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019SOXSA2&l=en-US

 

Per our friends MichaelBalzer and ikaiser.

 

I cross posted the solution because all the other threads came up first in the Google results.

 

Thank you, MichaelBalzer and ikaiser! Cheers!

ikaiser
NI Employee (retired)

Thank you @jhgorse, I am happy this is still a working solution several years after I improved it (-:


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD