Martin
Thank you for your suggestion. Unfortunately it doesn't seem to make any
difference. I start from one particular layout, then use the following
script steps to open the pop-up:
New Window[Name: "Task Details"; Height: 800; Width: 500; Top: 3000;
Left: 3000]
Go to Layout ["TaskDetails" (Tasks)]
Move/Resize Window [Current Window; Height: 800; Width: 500; Top: 100;
Left: 100]
If the first layout is maximized, then the first script step above
restores it to whatever size it was before it was maximized. As I
understand your instructions, creating the new window off the screen
should leave it maximized - or do I misunderstand?
Thanks again
Bruce
[email protected] wrote:
Bruce,
To avoid restoring/resizing other layouts irregardless of the platform, instead of
maximizing or resize to fit (used to be my favorite), create the pop-up layout with a
specific window size (e.g. open new window with Height = 576 pixels x Width = 576, about
4"x4").
Create it off the screen (e.g. Top = 3000, Left = 3000), then move the window
to the desired position (e.g. Top = 36, Left = 36; or via a calculation to the
center of the user's window).
Credit to Jonn Howell on this.
Ciao.
Martin Cohen
On 2009 Jan 20, at 7:48, Bruce Button wrote:
Greetings!
Can anyone help? What is the best/standard way of creating a pop-up
layout in which the user can enter selected information? ...
2. Create a layout for the purpose: Of course, this is as flexible as it
needs to be, both in terms of data to be entered and in terms of visual
layout. However, it does have some issues:
a) If the pop-up layout is not maximized (which it usually won't be),
opening it restores any other layouts that are already maximized to a funny
size. This necessitates a few extra script steps and calculations to keep
everything looking professional.
Window manipulation is one of the tasks that FMP farms out to the operating
system. The behavior you describe is the way Microsoft Windows works; the Mac
OS only resizes the one window you tell it to, leaving all the rest unaffected.
So, quite tongue in cheek, I advise you to change computers. 8^D
Seriously, tho, among the many things I've dropped in the FMI suggestion box
over the years is the idea that they take control over window manipulation away
from the OS and do it within FMP itself, to achieve consistent behavior across
platforms. I haven't yet sprung for FMP 10. Does anyone know if they've adopted
this suggestion in 10? (I'm still giddy over the inclusion of automatic tab
renumbering, which I've been begging for literally since last century.)
= = = = = =
Richard S. Russell, a Bright (http://the-brights.net)
2642 Kendall Av. #2, Madison WI 53705-3736
608+233-5640 . [email protected]
http://richardsrussell.livejournal.com/
= = = = = =
The future is already here. It is just not uniformly distributed.
-- William Gibson
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3781 (20090120) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com