03-03-2011 03:56 PM
I have a program that fits nicely using a few screen resolutions, provided I have the "Scale all objects on front panel" selected. Is there a way to turn this off programatically? I would like the user to be able to make the window smaller if desired, but force the window to scroll if it is sufficiently small.
Desired:
1) Start program: FP maximized, scale objects to allow for different resolutions
2) User resizes window, turn off "resize objects with window size". Keep current sizes and spacing, force user to scroll.
Thank you!
Solved! Go to Solution.
03-03-2011 04:16 PM - edited 03-03-2011 04:17 PM
You can allow resizing but hide the scrollbars. Then if the user resizes, enable the scrollbars on the front panel.
Edit: Not sure if this will keep the spacing though. You will have to play around with it.
03-03-2011 06:19 PM
I think you can accomplish your desired behavior with a combination of the Panel Resize event and the Set Scaling method: