LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Window Size for Executable

I want to be able to set the window size so that after I build my executable and run my program only the important stuff will show up instead of miles of blank space. If anyone know how to do this let me know.

Cason Clagg
SwRI
LabView 7.1, Windows XP
Message 1 of 7
(5,737 Views)
Set the window to the desired size before saving. (Make sure "set front panel to width and height of the entire screen" is not enabled).

If needed, you should also set the various options in "Window Appearance" of "VI properties". (e.g. uncheck: "show scrollbars", "Allow user to resize windows", etc. )
Message 2 of 7
(5,723 Views)
I made the changes you mentioned. This helped with the window size, however, it is still dispaying scroll bars like it is giving the objects in my application breathing room(I unchecked the "Show scroll bars" box). And when I scroll down with my mouse wheel it just lets me scroll forever letting me get infinitely far away from the content of my application. I want a tiny little application that forces you to look at the objects and doesnt let you scroll away from them.

I would also like to be able to get rid of the run and continuously run button and bar for that matter. I found a check box for this but it changed my editor options. And if this is possible to remove the run button is there a way I can make a run button in my application?

Thanks

Cason Clagg
SwRI
LabView 7.1, Windows XP
Message 3 of 7
(5,721 Views)

@CasonSwRI wrote:
I would also like to be able to get rid of the run and continuously run button and bar for that matter. I found a check box for this but it changed my editor options. And if this is possible to remove the run button is there a way I can make a run button in my application?
Applications should be set to "run when openend". There is no purpose in a stopped application or a run button. Then simply hide the toolbar, menu bar, and even windows title bar as desired.

The scrollbars will not show when running, but they'll always show in edit mode. Did you run it? If you still think there is something wrong, please attach a simplified example. What LabVIEW version are you using?
Message 4 of 7
(5,707 Views)
I still can't get it to work. I am using LabView 7.1. I have included both the exe and a simple vi. I just want a little window with no scroll bars. All I can manage is the little window part :).

Thanks a lot.

Cason Clagg
SwRI
LabView 7.1, Windows XP
Message 5 of 7
(5,705 Views)
Your VI runs and immediately quits. Place a while loop or something with a delay in it so it keeps running. The scrollbars will show as soon as the VI or application stops.

Message Edited by altenbach on 06-22-2005 10:23 AM

Message 6 of 7
(5,706 Views)
Thanks, I just needed to know about those settings when you go to build the application.

Cason Clagg
SwRI
LabView 7.1, Windows XP
Message 7 of 7
(5,680 Views)