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: 

VI Scrollbar - how to get one back?

Solved!
Go to solution

Dumb question that is driving me crazy, but I gotta ask...

 

I have a VI. Its front panel has no scrollbars. I know that if the scrollbar were there, I could dbl-click and change the mode to Always On, Alwats Off, etc.

 

Since it is NOT there, now what? I can't seem to find it in the VI Server Props or methods anywhere either. I'm just stuck.

 

0 Kudos
Message 1 of 5
(2,682 Views)
Solution
Accepted by topic author 10Things_Rob

OK, Figured it out... but brace yourself...

 

You can only do it dynamically:

* Open a VI reference

* Get the Front Panel Reference

* Get the Array of Pane References

* Index the first element

* Set the properties for the Scrollbar visibilities from there

 

This is one of those cases where NI implemented what made sense to the programmigng paradigm (based on the addition of panes and scrollbar controls to LabVIEW) rather than considering the 95% likely use case (VIs with only one pane). This should be a VI Property.

 

Maybe it already is and someone at NI will show me what I am overlooking?

0 Kudos
Message 2 of 5
(2,681 Views)

I found another way to do this in 8.5.1.

1. Create a verticle splitter bar on the front panel.

2. Right click the splitter and select a pane and activate the horizontal scroll bar.

3. Right click the splitter and select the other pane and activate the horizontal scroll bar.

4. Right click the splitter bar and select remove with adjoining splitters.

 

Hope this helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 5
(2,662 Views)

10Things wrote:

Maybe it already is and someone at NI will show me what I am overlooking?


Try VI properties...window appearance...customize... 😄

 

Message Edited by altenbach on 12-05-2008 03:49 PM
Message 4 of 5
(2,655 Views)

I told you it was a dumb question... and that it should be a VI Property!  Smiley Wink

 

Thanks for the input.

Message Edited by 10Things on 12-05-2008 10:04 PM
0 Kudos
Message 5 of 5
(2,641 Views)