1answers

Adjust Window

When I use a button to go to a different layout I am having trouble using the Adjust Window script step to show a correctly sized window for the layout that I am going to. By correct size I mean to change from, say a list sized window, that was the originating layout to a form sized window that is being called. Sometimes it may get the width right, but not the height and vice versa. Is there another script step that I should be using? I am using FM ver 11. Thanks in advance for the help. Rick

Rick Torchia

Answers

There are a bunch of ways to adjust the window size.

My favorite happens to be one of the simpler approaches: To set the window height and width explicitly via the Move/Resize Window script step, instead of relying on the Adjust Window script step with the Resize option selected.

I find that the user experience is much more enjoyable when the window behaves as a user would expect.

I like to adjust the window size via a separate script that is called from a navigation script.

I prefer to set a DEFAULT height and width for an entire application. To accommodate smaller layouts (e.g. pop-ups) I set a TEMPORARY height and width to be used.

Happy Learning!

Kevin Kurpe

Back to questions