LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing window size during run

I was looking for a way to change the size of the front panel window while the program is running.

The goal is to make the window height to change gradually to show/hide parts of the interface.

The best way I found so far is to use the "Front Panel:Run-Time Position:Custom" method for the VI. However, this method only changes the FP size on the next time the VI executes, so I had to add "Front Panel:Close" and "Front Panel:Open" methods.

This method is very slow, though, the blinking of the window is annoying, and I cannot use it repeatedly.

 

Does anyone have a better idea?

 

 

Thanks,

Tambah

0 Kudos
Message 1 of 3
(3,516 Views)

Hi Tambah,

 

what about VI.FrontpanelWindow.WindowBounds property?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,512 Views)

This works perfectly!

many thanks,
tambah.

0 Kudos
Message 3 of 3
(3,483 Views)