dbTalk Databases Forums  

Controlling the size of windows

comp.databases.filemaker comp.databases.filemaker


Discuss Controlling the size of windows in the comp.databases.filemaker forum.



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

Default Controlling the size of windows - 09-01-2005 , 02:32 PM







Hi all,

I have a portal which displays a graphic (green button) if a match is found
in another file. Clicking the button opens the related record in the other
file allowing the user to see the details. The button identifies the student
as having Special Educational Needs. Opening the related record shows the
details.
It works fine except that I can't seem to control the size of the window
when it opens. What I want is for it open to a shrunken window about a
quarter the size of the whole screen so that it is obvious to users that
they need only to close this new window to return to the main file rather
than opening maximised thus throwing my novice users into panic..
All of your thoughts are much appreciated.
Regards,
David




Reply With Quote
  #2  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Controlling the size of windows - 09-01-2005 , 03:21 PM






I made an answer yesterday under the topic :
"Re: Setting new window in FMP7"
that may apply to your need.
PS : you dind't mention your FMP version.
Remi-Noel

"Price" <dp (AT) brynymor (DOT) f2s.com> a écrit ...
Quote:
Hi all,

I have a portal which displays a graphic (green button) if a match is
found in another file. Clicking the button opens the related record in
the other file allowing the user to see the details. The button
identifies the student as having Special Educational Needs. Opening
the related record shows the details.
It works fine except that I can't seem to control the size of the
window when it opens. What I want is for it open to a shrunken window
about a quarter the size of the whole screen so that it is obvious to
users that they need only to close this new window to return to the
main file rather than opening maximised thus throwing my novice users
into panic..
All of your thoughts are much appreciated.
Regards,
David





Reply With Quote
  #3  
Old   
Matt Wills
 
Posts: n/a

Default Re: Controlling the size of windows - 09-01-2005 , 05:42 PM



Price wrote on (9/1/2005):

Quote:
Hi all,

I have a portal which displays a graphic (green button) if a match is
found in another file. Clicking the button opens the related record in the
other file allowing the user to see the details. The button identifies the
student as having Special Educational Needs. Opening the related record
shows the details.
It works fine except that I can't seem to control the size of the window
when it opens. What I want is for it open to a shrunken window about a
quarter the size of the whole screen so that it is obvious to users that
they need only to close this new window to return to the main file rather
than opening maximised thus throwing my novice users into panic..
All of your thoughts are much appreciated.
Regards,
David
Assuming FM7/8:

The New Window script step provides for specifying the name, size and
position of the new window.

The trick is to prevent an existing window from being reduced in size when
a new one is opened. To do that, make the existing window one pixel
smaller in both dimensions rather than maximized. Using the Adjust Window
step, you can do this by trial and error, playing with the coordinates
until you have what you want.

I wanted to be able to size several windows, so I wrote a script that
grabs the coordinates and stores them in global fields for re-use later.

If you're not using FM7/8, you could try Remi-Noel's suggestion, using
disabled copy of the main layout with a smaller "window" superimposed on
it. Not much else available.

Matt



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.