Jump to content

Perfect Proportions


This topic is 8177 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have a couple of layouts which really work best at a specific set of dimensions (Window size)

I have a specific layout I want users to use for searching and layouts for form views and browse style listings.

I would like to be able to change between the browse listing (full screen @ 800x640) and the search layout (v.compact) and vice versa. This will be scripted. But as I say I can't find a method to "switch" between the layouts and have them change size.

Any help/suggestions gratefully received.

[ August 02, 2001: Message edited by: rich_g ]

Link to comment
Share on other sites

  • 4 months later...
  • Newbies

I have the same problem: I want each of 6 related files to be a specific window size. If a user changes one, I want my ~change window~ script to end with a command to restore the window size. In FM 5 for Mac, I can't find the right Toggle Window script command. I don't want the window maximized, but rather returned to a specific size.

Any suggestions?

Thanks,

[email protected]

Link to comment
Share on other sites

What I do is to have a "Sizer" layout. This is a layout which is the proper size. I then have a "Window/Status" script which includes the following:

code:


Goto Layout [sizer]

Toggle Status Area [Hide]

Toggle Window [Zoom]

Goto Layout [Original Layout]


This script is run at the end of every navigational script and restores the window to it proper settings.

Link to comment
Share on other sites

Step 1: create a "Compact" Layout put a graphic on it the size you want it stretch the body part to the graphic element. I usually use a square no border no fill or fill it what ever your color scheme is...

Step 2: Create a "Normal" layout with the same method.

Step 3: Create a window cleanup script.

Go to layout "COMPACT"

Hide status bar (Lock or un lock as per your security routine)

Hide Tool bars (as per your security routine)

Zoom the window

go to original layout.

In all your navagation scripts place this script after goto layout step

ie: goto layout "USER DATA ENTRY"

Perform script" Window Cleanup

The window should size to the area of the graphic element w/out scroll bars.

Note: Any list view layouts are 3 pixeles narrower from left to right, to accomodeate the little record status bar.

You could also do some status checks as to platform to clean up the windows different on mac vs win.

enjoy

sd

Link to comment
Share on other sites

This topic is 8177 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.