08-08-2019 03:16 PM
I am expecting this is a setting somewhere in the panel editor, but I couldn't find it in the help file.
The program I have been working on created a resizable child panel. If I open it on my second monitor (which I run vertical) and make it very tall, then close it, it will then open too large (off the screen) if I move the main program to the primary (smaller, horizontal) monitor.
I just created a simple routine that uses the parent and child panel handles to check sizes and adjust the child panel sizes downwards if they are larger than the parent panel.
But ever allowing a panel to display larger than the window (off the screen) seems like something the UI should take care of itself.
Is there some simple setting for this?
I noticed that there was a set attribute command to center the position of a window, and there also seem to be UI editor check boxes to do this automatically, so I am expecting maybe I just missed something similar for this.
Thanks.
08-13-2019 10:35 AM
Hello,
Here are some references that describe how to go about programmatically setting the size of a front panel:
Programmatically Move the Front Panel to a Desired Position Using LabVIEW
Programmatically Set Front Panel Size and Position - Example
08-13-2019 03:48 PM
Are there similar tips for using LabWindows?