LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to add scroll bar to a front panel cluster control?

Solved!
Go to solution

I have a cluster control on my front panel.  The cluster contains many controls that I do not have enough room to display all at once. When an array contains more elements than is displayed, you can turn on vertical or horizontal scroll bars.  This not seem to be the case for the cluster control.  I do not see a scroll bar property for the cluster control.  Is there a way to display one that I am missing?  Thanks!

0 Kudos
Message 1 of 16
(12,154 Views)

Not statically. See these ideas:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-clusters-to-have-quot-pages-quot/idi-p/1481862

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Scroll-Bar-Property-for-Clusters/idi-p/921174

 

 

It is possible to do this at run-time by placing the cluster inside another cluster with a scroll bar and then writing code which will control the position property of the nested scrollbar, but I understand that's not what you want.


___________________
Try to take over the world!
Message 2 of 16
(12,125 Views)
Solution
Accepted by topic author NI-hilator

As far as I am aware you cannot display scrollbars on clusters.

 

The only method I can think of around this would be to display the cluster fully expanded on a subpanel as a plugin and have attached an example of how to do this.


Hope that helps,

 

Dave

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
Message 3 of 16
(12,124 Views)

Thanks for the replies! I think David's example will work great! Kudos.

0 Kudos
Message 4 of 16
(12,110 Views)

There are deprecated properties that will do it, but their behavior is a bit flakey.

Message 5 of 16
(12,102 Views)

@pcardinale, what kind of "flakey" behavior have you seen with it. Seems to work as expected on my end. This property node would be a big help in cleaning up some front panels I use.

0 Kudos
Message 6 of 16
(10,971 Views)

Sometimes the scrollbars disappear when you adjust them.

"If you weren't supposed to push it, it wouldn't be a button."
Message 7 of 16
(10,930 Views)

@pcardinale, thanks for your exemple,  the problem, i do not find the scrollbar in the Property Node of cluster !! Way please !! I lost a lot of time

0 Kudos
Message 8 of 16
(9,230 Views)

Its a depreciated property.  Better to use a sub-panel (and really, check is that "Mother Cluster" should even be shown.


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 16
(9,219 Views)

This is a pretty old question concerning adding a scroll bar to a cluster control on the front panel.  I assume most people have figured out a way around this by now.  I found myself needing to scroll through a cluster of controls recently and found this thread. 

The way I was able to get around this was to open the "Layout" tab on the front panel controls menu.  Then select "Vert Splitter Bar".  This allows you to break up the front panel in multiple scrolling sections.  A scrolling horizontal bar as can be added as well with the "Hor Splitter Bar".  The items can be left in the cluster or used as independent controls & indicators. 

0 Kudos
Message 10 of 16
(4,605 Views)