LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hide a subpanels border

how can I hide a subpanel without hiding it's elements ?
I can remove scroll bars but I don't know how to hide the subpanels border lines - user should not see that I am using a subpanel

I just want to put some parts of the program in another vi-file (including GUI)
How can I do that ?

thanks
0 Kudos
Message 1 of 7
(4,687 Views)
What version of LabView are you using?
Are you rellay using a subpanel (introduced in 7.0) or are you using a subVI?
If you're using a subpanel in LabView 7.0, on the front panel of the calling VI, add a subpanel from the Containers palette, right-click on the subpanel, goto Visible Items, and turn them all off, one-by-one.
If you're using a subVI, from the front panel of that subVI, goto File >> VI Properties >> Category >> Window Appearance >> Customize and turn off Window Has Title Bar, Show Menu Bar, Show Scroll Bars, Show Toolbar When Running, Allow User to Close, Resize, and Minimize Window.
0 Kudos
Message 2 of 7
(4,687 Views)
I have the same problem with the subpanel control in LV7. However, the only things in the visible items list are Label and Caption. I managed to hide the scrollbars using a property node, but I have not found a way yet to hide the border.
By the way, the Properties entry is also disabled in the menu. Could there be a bug in the control?
0 Kudos
Message 3 of 7
(4,687 Views)
Not sure how you only get those options in the visible items list...I have Frame and Scrollbars there as well.
0 Kudos
Message 4 of 7
(4,687 Views)
In addition to AI's suggestion, if your main vi and subvi loaded in the subpanel have different backgrounds. You can make them the same color by right click on the subpanel and check Make Panel Transparent

Joe
0 Kudos
Message 5 of 7
(4,687 Views)
Nope, I tried it on two machines. Both only show me Label and Caption. On the other hand I have 'Indicator' as a boolean property, which is not documented in the help. If I try to set that, I receive an error.
0 Kudos
Message 6 of 7
(4,686 Views)
I've had the same problem too. You cannot hide the subpanel borders with Labview 7 Evaluation or Full Development versions, only with the Professional version.
However, you can of course Cheat !
The solution is to simply copy a subpanel with it's frame already hidden and paste it into your own application. You can find one such subpanel in the examples that came with Labview.
The subpanels in Templates.vi do the trick and you can find it in:
Labview 7.0\examples\general\controls\subpanel.llb

Hope this solves the problem.
0 Kudos
Message 7 of 7
(4,686 Views)