04-10-2013 04:01 PM
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!
Solved! Go to Solution.
04-11-2013 02:57 AM
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.
04-11-2013 02:57 AM
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
04-11-2013 08:37 AM
Thanks for the replies! I think David's example will work great! Kudos.
04-11-2013 09:47 AM
There are deprecated properties that will do it, but their behavior is a bit flakey.
12-09-2015 12:28 PM - edited 12-09-2015 12:28 PM
@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.
12-10-2015 08:47 AM
Sometimes the scrollbars disappear when you adjust them.
10-14-2017 08:45 AM
@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
10-14-2017 12:15 PM
Its a depreciated property. Better to use a sub-panel (and really, check is that "Mother Cluster" should even be shown.
06-27-2022 01:11 PM
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.