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

cancel
Showing results for 
Search instead for 
Did you mean: 

about horizontal and vertical scroll bar

Solved!
Go to solution

Dear Friends

there is only horizontal and vertical scroll bar in labview. how can i move scroll bar at any angle ?

 

Thanks

Asif

0 Kudos
Message 1 of 8
(7,042 Views)

Hi Asif,

Most applications only have a horizontal or vertical scroll bar, so it sounds very unintuitive to scroll at some other angle. That being said, if you're going to be the main user of the application and you're really convinced this is a feature you want, you can use position properties of the front panel like so:

 

Scroll in any direction.png

0 Kudos
Message 2 of 8
(7,021 Views)
Solution
Accepted by JÞB

Asif138 wrote:  how can i move scroll bar at any angle ?

Rotate your monitor screen to the desired angle and then just scroll away.

 

Message 3 of 8
(6,989 Views)

Hey,

I don't think that functionality is built into LabVIEW's current builds. 

But, if you'd like to put it out as an idea on the Idea Exchange feel free to post it to the forums there and maybe it'll be included in the future builds. 

 

Idea Exchange - Discussion Forums - National Instruments - NI Forums

http://forums.ni.com/t5/Idea-Exchange/ct-p/ideas

0 Kudos
Message 4 of 8
(6,952 Views)

@WNM wrote:

Asif138 wrote:  how can i move scroll bar at any angle ?

Rotate your monitor screen to the desired angle and then just scroll away.

 


Yes, I abused my powers!  I HAD TOO mark that solution!


"Should be" isn't "Is" -Jay
Message 5 of 8
(6,911 Views)

If you're in development mode you can ctrl+shift+drag in empty space to pan the screen.  Perhaps that's what you mean by scroll any angle?

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 6 of 8
(6,769 Views)

A Picture control will let you do that!

 

Of course there will  a bit a coding to back it up and make it work but it could be done.

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 8
(6,745 Views)
Solution
Accepted by topic author Asif138

Borrowed example code Christian developed and posted here

 

Diagonal.png

 

Diagonal_Part1.png

 

All you have to do is add is to translate the mouse down/up on the pictue control using trig, do a Value change event to the scroll bar and you are done.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 8
(6,736 Views)