![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FM 8.5 I have checked for previous posts but all are very old. Can anyone advise me how to make filemaker open a layout to a definite size. I know I can script this but then it means using a script button. I thought if I set the page setup to a custom size this would work but it does not. Any ideas? |
)
#3
| |||
| |||
|
|
"Buckbuck" <buck.matthew74 (AT) yahoo (DOT) com> wrote in message news:3c291382-74fc-47a4-ba47-12124ae57d45 (AT) b36g2000pri (DOT) googlegroups.com... FM 8.5 I have checked for previous posts but all are very old. Can anyone advise me how to make filemaker open a layout to a definite size. I know I can script this but then it means using a script button. I thought if I set the page setup to a custom size this would work but it does not. Any ideas? There are two ways to get FileMaker to display a window of a particular size: A. Set the window size manually and trhen close the file - FileMaker will remember the size (as long as you don't have any Scripts altering the size and that no other user alters the size). B. Using a Script to Maximise the window in Browse Mode in Form View. To do this you need to first manually stretch the window to the size you want and then put an object in the bottom-right-hand corner (remember to allow for scroll bars if needed) - this object is usually just an "invisible" rectangle. Then in the Script you canuse the commands to go to that Layout and Maximise the window, which will expand the window to fit in the object (or to as big as fits on the user's screen). Obviously this doesn't work if you want your Layout in List View, innstead you'll need to use a separate "window sizing" Layout first to set the window and then go to you List View Layout. Helpful Harry ) |
#4
| |||
| |||
|
|
FM 8.5 I have checked for previous posts but all are very old. Can anyone advise me how to make filemaker open a layout to a definite size. I know I can script this but then it means using a script button. I thought if I set the page setup to a custom size this would work but it does not. Any ideas? |
#5
| |||
| |||
|
|
In article <hlikef$c3b$1 (AT) lust (DOT) ihug.co.nz>, "Your Name" <your.name (AT) isp (DOT) com> wrote: "Buckbuck" <buck.matthew74 (AT) yahoo (DOT) com> wrote in message news:3c291382-74fc-47a4-ba47-12124ae57d45 (AT) b36g2000pri (DOT) googlegroups.com... FM 8.5 I have checked for previous posts but all are very old. Can anyone advise me how to make filemaker open a layout to a definite size. I know I can script this but then it means using a script button. I thought if I set the page setup to a custom size this would work but it does not. Any ideas? There are two ways to get FileMaker to display a window of a particular size: A. Set the window size manually and trhen close the file - FileMaker will remember the size (as long as you don't have any Scripts altering the size and that no other user alters the size). B. Using a Script to Maximise the window in Browse Mode in Form View. To do this you need to first manually stretch the window to the size you want and then put an object in the bottom-right-hand corner (remember to allow for scroll bars if needed) - this object is usually just an "invisible" rectangle. Then in the Script you canuse the commands to go to that Layout and Maximise the window, which will expand the window to fit in the object (or to as big as fits on the user's screen). Obviously this doesn't work if you want your Layout in List View, innstead you'll need to use a separate "window sizing" Layout first to set the window and then go to you List View Layout. I think it is better to use the script command "Resize to fit" as that will cause the window to be just large enough to enclose all the layout objects including the invisible rectangle Helpful Harry suggested. I say it is better to use this, because the Maximize Window script step goes the the maximum of the display. This works well if you are only using one platform for your database. However, if you develop a database for others, you have no control over their platform and display, so the script step Maximize Window can produce problematic results, especially on the Windows platform. |
#6
| |||
| |||
|
|
"Buckbuck" wrote: FM 8.5 I have checked for previous posts but all are very old. Can anyone advise me how to make filemaker open a layout to a definite size. I know I can script this but then it means using a script button. I thought if I set the page setup to a custom size this would work but it does not. Any ideas? You don't necessarily need a button to run the script. Go to the File menu and set File Options to use the window sizing script as an opening script. In addition to Harry's two suggestions, you can also script with the Move/Resize Window script step to set specific dimensions. And in reference to his first (A) suggestion, you need to take the file off the server and open it as single user, then resize the window as desired and them (this is important or else it won't save your change) change some data or a script or a field or something to force FileMaker to re-save the file. Along with whatever other changes you make, it will also save your new window size. Then put it back on the server and you should be good. |
)![]() |
| Thread Tools | |
| Display Modes | |
| |