11-26-2018 04:59 AM
I would like to completely remove the menubar and toolbar in my executable. I know how to hide them, but that leaves the space used for them. Is there a way to completely remove the space used for it?
11-26-2018 05:27 AM
11-26-2018 05:32 AM
Just from the VI properties, you can disable them (Window Appearance, customize, uncheck "Show menu bar" and "Show toolbar when running").
What version of LabVIEW are you using? Do you have an example VI that shows the problem? Perhaps there is a option you missed that we can catch for you. But I also vaguely remember this issue and I cannot remember if it was a bug or something stupid I did not know about at the time.
11-26-2018 06:12 AM
If you turn off the menubar and\or toolbar there's no space reserved for them.
However, the controls, indicators and decorations on the front panel will not automatically scale to fill the space. You'll need to do that yourself.
It depends very much on your front panel layout how this can be solved. Sometimes a fit to pane is enough. Splitters might help.
I made this library to scale\show\hide FP object: Carya-Automatisering/Dynamic-Scaling. It's donation ware, open source (MIT). You might want to watch the video...
11-26-2018 06:12 AM
I currently develop in LabView 2018.
I use the VI properties to hide them. I have played with the minimum panel size, and by setting the size low enough suddenly made them disappear, and if I then put the size back again, they stay away. Something is fishy….
11-26-2018 07:04 AM
Better post some code. Sounds like it's not working as expected.
11-26-2018 07:39 AM
Why does noone suggest setting the Window Appearance during Development (right-click, "VI Properties", Window Appearance), click Customize, and uncheck Window has Title Bar, Show Menu Bar, and other options you don't want to see (such as Scroll Bars, since your Front Panel should fit on your screen). You can also set the Window Run-Time Position's "Position" option to Maximize, and Window Size's "Minimum Panel Size" to 0, 0 (which, somewhat paradoxically, lets the Front Panel fill the screen).
No Muss, No Fuss, and the Executable will fill the Window, including the space otherwise used for the Menu and Toolbar.
Bob Schor
11-26-2018 07:43 AM
@Bob_Schor wrote:
Why does noone suggest setting the Window Appearance during Development (right-click, "VI Properties", Window Appearance), click Customize, and uncheck Window has Title Bar, Show Menu Bar,
Because OP says he knows how to do this.
Given his 2nd post, I think he does. This might have fallen in LV18, or the way it is done (post some code!) is not right.
11-26-2018 07:46 AM
@Bob_Schor wrote:
Why does noone suggest setting the Window Appearance during Development (right-click, "VI Properties", Window Appearance), click Customize, and uncheck Window has Title Bar, Show Menu Bar, and other options you don't want to see (such as Scroll Bars, since your Front Panel should fit on your screen).
11-26-2018 07:51 AM