dbTalk Databases Forums  

Window size

comp.databases.filemaker comp.databases.filemaker


Discuss Window size in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Buckbuck
 
Posts: n/a

Default Window size - 02-17-2010 , 06:39 PM






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?

Thanks

Reply With Quote
  #2  
Old   
Your Name
 
Posts: n/a

Default Re: Window size - 02-18-2010 , 12:51 AM






"Buckbuck" <buck.matthew74 (AT) yahoo (DOT) com> wrote

Quote:
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 )

Reply With Quote
  #3  
Old   
Bill
 
Posts: n/a

Default Re: Window size - 02-18-2010 , 07:57 AM



In article <hlikef$c3b$1 (AT) lust (DOT) ihug.co.nz>,
"Your Name" <your.name (AT) isp (DOT) com> wrote:

Quote:
"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 )
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.

Reply With Quote
  #4  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Window size - 02-18-2010 , 12:59 PM



"Buckbuck" wrote:
Quote:
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.


Howard Schlossberg
FM Professional Solutions
Los Angeles, CA

Reply With Quote
  #5  
Old   
Your Name
 
Posts: n/a

Default Re: Window size - 02-18-2010 , 02:59 PM



"Bill" <bbcollins (AT) earthlink (DOT) net> wrote

Quote:
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.
Thanks - the "Resize to Fit" option must be in newer versions of FileMaker,
but I'm not sure if it is or isn't in the FileMaker 8.5 the original person
is using.

Reply With Quote
  #6  
Old   
Your Name
 
Posts: n/a

Default Re: Window size - 02-18-2010 , 03:00 PM



"Howard Schlossberg" <howard (AT) nospam (DOT) fmprosolutions.com> wrote

Quote:
"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.
Thanks. I meant to say about using a Startup Script and the server not
saving window sizing, but ran out of time last night.

Helpful Harry )

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.