LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Limit maximum panel size

Hello, attached is the window that I want to run full screen. If user wants to move that windows to second screen, they undo maximize button and then move/drag window to the second screen. Now, the user has ability to resize window left and right and show the portion that is not intended to be seen shown in the picture. Is there a way to limit the maximum size of the panel so that that, in this example, they can't exceed 1920x1080 resolution?  

Screenshot 2024-03-15 115336.png

0 Kudos
Message 1 of 2
(176 Views)

Hi John,

 


@John32d wrote:

Is there a way to limit the maximum size of the panel so that that, in this example, they can't exceed 1920x1080 resolution?


You can set the window size using property nodes.

You can detect window movement/resize using events.

Combining both you can prevent the user from making the window larger than allowed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(135 Views)