LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build executable and make it constant the size of window

Hi,

 

I would like to create an application and I have difficulties to make it constatn the size of the window (appearing in full screen instead of just about 3/4 of the screen). I would like to know how to do to make constant proportionnal distance  between objects in different screen resolution? LEt's say that I have two buttons at the extreme left and rigt and when I change the resolution, one of the button is no longer at the extreme right of the screen. How to fix this?

 

Thank you in adavance for your help

0 Kudos
Message 1 of 11
(8,140 Views)

The appearance of the UI is defined by the VI. This also is true for applications compiled as executables.

So you have to configure a correct layout for the frontpanel of the VI used as UI. Open the VI properties and select

- Window Appearance (e.g. Dialog, Main Application)

- Window Size (minimum size)

- Window Run-Time Position (e.g. Unchanged, Fullscreen aka Maximized, Defined position)

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 11
(8,117 Views)
Thank you but unfortuntely it doesn't help. Here my VI, sorry I can't attach the exe. Thanks for your advices
0 Kudos
Message 3 of 11
(8,097 Views)

Wow, your monitor resolution must be quite large!

Please make the Frontpanel smaller so it only needs the space you want to display. In order to keep scalings, select the "scale all objecs on front panel as the window resizes" in the Window Size option and select "Maximized" in the Window Run-Time Position option.

Please note that the second option is honored only during run time (hence the name of the tab!) so during editing, the VI will stay the same size

You additionally want to prevent the user to resize/minimize the window.\

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 11
(8,093 Views)
Thank you but it doesn't work. Actually I work on a resolution 1360x768 pixels. I write the code with this resolution so I determine the position of objects according to this resolution. If I want to work on anothe rmnitor with a different reolution (as in fact this resolution is impossible in certain monitors) do I have to change the position of objects with the bloc diagram?
0 Kudos
Message 5 of 11
(8,089 Views)

Please see attached VI. Is that working?

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 6 of 11
(8,086 Views)
Thank you very much but oops I have the 8.0 version. Could you save in this version please?
0 Kudos
Message 7 of 11
(8,084 Views)
Here you go
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 8 of 11
(8,075 Views)
Thanks
0 Kudos
Message 9 of 11
(8,062 Views)

Hey there,

Could you please help how to deal with the font size as it doesn't scale with panel. The table size is also kind of distorted. Would love to hear your feedback on this.

tan0709_0-1716273862849.png

 

0 Kudos
Message 10 of 11
(677 Views)