Jump to content
Server Maintenance This Week. ×

Window always on top


This topic is 4365 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is there any way to keep a window that was opened using GTRR (GoToRelatedRecord) on top (active) until the close window button is pressed?

The GTRR window is smaller than the main interface and as of now, when you click anywhere outside the GTRR window it hides in the back. This is allowing multiple GTRR windows to open from the same script.

Link to comment
Share on other sites

Is there any way to keep a window that was opened using GTRR (GoToRelatedRecord) on top (active) until the close window button is pressed?

Keep the user in a paused loop.

This is allowing multiple GTRR windows to open from the same script.

Ah, this is a different issue. Before doing the GTRR and creating the new window, check to see whether a window with the same name is open. If so then select it.

This might avoid the necessity to implement the paused script.

Link to comment
Share on other sites

  • 1 year later...

Using the system close button will transfer a paused script to the next window. fm12 has an option to disable the close button on a new window and allows a fullproof custom made button invoking the 'resume' script button option (not a new script).

I don't know a way to invoke the resume script within a script but would like to know if there is a way except via Applescript.

Link to comment
Share on other sites

Using the system close button will transfer a paused script to the next window. fm12 has an option to disable the close button on a new window and allows a fullproof custom made button invoking the 'resume' script button option (not a new script).

I don't know a way to invoke the resume script within a script but would like to know if there is a way except via Applescript.

In FM 2, use the floating or modal window options. AFAIK the modal window does not need a paused script to be "modal" so it's possible to run a script to open the modal window, then run other scripts, then close the modal window. Since there is no paused script there is no fool to be proof of. :D

In FMP 11, the close button was only active in Windows, not in Mac OS X, so the issue of closing windows when a script is paused never came up for Mac uses (until they made x-plat solutions, then they got a rude shock). The solution is to make a custom menu set that disables the Close command (i.e., run a script that does nothing) for the layouts displayed int he modal window.

Link to comment
Share on other sites

This topic is 4365 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.