LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable resize front panel of an executable

Hello,

I would like to create an executable with this specific option:
the user shouldnt be allowed to resize the front panel during the execution and also when the program stops.

that s probably straightforward, but i didn t find this option anywhere...

thank you for your answers.

Laurent
0 Kudos
Message 1 of 13
(6,422 Views)
Hi Laurent,

right-click the vi icon, select vi properties, select tab "window appearance", switch off "allow user to resize window"!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 13
(6,417 Views)

Hello Laurent,

Go to File, VI Properties. Select the Window Appearance Category.

In this menu you can set the properties of the window of your application.

There are some pre-defined modes or you can costumize your own. Select Customize and de-select the allow user to resize window option.

 

Hope this helps,

Paulo

Message 3 of 13
(6,417 Views)
That's fine, it works when the program is running. But at the end, you can still resize the window. And i don't want to close the window automatically at the end of the execution.

Is there any other options which can handle it?

Laurent
Message 4 of 13
(6,410 Views)
Hi Laurent,

it's rather unusual to present a user interface to the user without running the underlying block diagram...
When you quit word/excel/whatever then the window closes! Why should an application programmed in LV behave different?

Maybe you should rethink your design... When the vi is in edit mode you cannot control the user actions!

Message Edited by GerdW on 09-12-2007 12:16 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 13
(6,406 Views)

I don't know of anything that will prevent him to change it.

There is an optin to set the minimum size in the same manu, in the window size category, but this will only prevent that the window size will never be shorter the the defined value.

Anyway, the next time your application will run, it will have the size you defined again.

Hope this helps,

Paulo

0 Kudos
Message 6 of 13
(6,402 Views)


@lolopuf wrote:
And i don't want to close the window automatically at the end of the execution.

Is there any other options which can handle it?
Quit LabVIEW
Laurent



Laurent, if you dont want to close the window automatically at the end of the execution, then you ve to see inside the code if the Quit LabVIEW function is used. If it is there, it ll close the EXE at the end...

So, you can remove it, if you want to be so...

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 7 of 13
(6,396 Views)
Ok I will redesign my program to close it at the end of the execution thanks to the Labview quit function.

thank you,

Laurent
0 Kudos
Message 8 of 13
(6,387 Views)

Very sorry my interventing on this old issue.

My issue is below.

 

So far I am using this option when I release the executable.  However, in debugging time, I switched on to see hidden parameters.

But some program looks switch off this on execution automatically.

It won't solved even I put a code (See shot4.png) in the program loop.

Do you have any idea why this would happen?

 

Best Regards,

Masao Kaizuka

0 Kudos
Message 9 of 13
(2,331 Views)

@MK2012 wrote:

Very sorry my interventing on this old issue.

My issue is below.

 

So far I am using this option when I release the executable.  However, in debugging time, I switched on to see hidden parameters.

But some program looks switch off this on execution automatically.

It won't solved even I put a code (See shot4.png) in the program loop.

Do you have any idea why this would happen?

 

Best Regards,

Masao Kaizuka


It is very unclear what you are trying to do here. shot4.png is useless in trying to help you. Please attach your vi (or better yet a zipped copy of your project) and a better explanation of the result that you are trying to achieve.

0 Kudos
Message 10 of 13
(2,283 Views)