LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set Maximum size for a subpanel created with splitter bars in LV8

Does anyone know how to set the Maximum size for a subpanel created with asplitter bar? If I show one cluster in the subpanel and use the scroll bar to scroll, I can see more (blank) area than I want. I just want the user to be able to scroll a cluster within a subpanel while the cluster is larger than the view area of the subpanel. I don't want to let the user scroll outside the cluster.
0 Kudos
Message 1 of 4
(3,024 Views)

I apologize for the mixup in terminology. Please read Pane wherever the word Subpanel was used.

Please see the attached VI for a description of my problem.

I would really appreciate any help with this.

0 Kudos
Message 2 of 4
(3,020 Views)

Hi,

This an interesting request.  The minimum pane size can be set via a property node but the pane was designed to allow an infinite amount of space for use thus no maximum pane size property.  You may want to disable the pane scrollbar and just use an actual scrollbar control to determine what part of the cluster is visible. There is a shipping example called Cluster with Scrollbar.vi (Help->Find Examples to open the NI Example Finder in LabVIEW).

Ecleamus Ricks, Jr.
National Instruments
Applications Engineer

0 Kudos
Message 3 of 4
(3,002 Views)

Thanks Ecleamus! This worked for me.

0 Kudos
Message 4 of 4
(2,986 Views)