Jump to content
Salesforce and other SMB Solutions are coming soon. ×

How to make FM windows open in the same place?


bigzilla

Recommended Posts

How do I get a window to open in the same place all of the time? I use FMP 7 with 8 files and each time I open a file they open on the same place on my screen but not where I want them to open. How do I tell FileMaker when a window opens, I want it to open in one specific spot all the time.

 

If someone wants to move it that's fine, but I want all of the windows to open and stay in the same place unless they are moved! And go back to where I want them when the solution is opened again the next morning.

 

Thanks for your help,

 

Bill

Link to comment
Share on other sites

Hi Bill,

The simplest answer is to open the windows with scripts and include the

 

Move/Resize Window[ ]

 

command in the scripts, supplied with fixed or calculated coordinates for window location (and maybe also size...).

 

You'd likely want to use calcs to determine the coordinates if the solution will be opened on screens of different sizes - unless of courtse, youy're going for the top left, which will always be 0; 0.

 

If you're wanting users to be able to create new windows by other methods (eg straight from the menu) and still control where they appear, you may need to look into options involving a plug-in. To do this you could either use a menu plug-in that will capture the New Window command and redirect it to one of your scripts, of perhaps a plug-in that will enable you to define 'events' (scripts) that will run on window creation etc. MenuMagic from NMCI will do either, but there are others that might also be used. wink.gif

Link to comment
Share on other sites

Hi Ray,

 

Thanks for your reply. I added Move/Resize Window” to my script and put a “0” in Distance from top and Distance from left and it works great.

 

I seem to get a much greater “Screen Flash” since I’ve added this script step. I guess I expected the flash the first time the script was executed. But it does it each time the script is run. Is there a way to stop, or at least minimize the flash?

 

Thanks Ray,

 

Bill

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use