Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Tips for remembering panel position and size?

$
0
0

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.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>