1 Reply Latest reply on Apr 9, 2012 10:30 AM by Stephen Huston

    Freezing a back ground windows


      I'm trying to build a script that from a main window will open another smaller popup window on top that I can enter data into. The main window that is in the background is frozon until I close the popup window. I've built this kind of script before a long time ago but can't figure out how to repeat the process. I thought I had to use the freeze command twice to do this. Help anyone??

        • 1. Re: Freezing a back ground windows
          Stephen Huston

          It's unclear whether you mean Freezing a window in the sense of it not refreshing or in the sense of locking the user out of going to the background window until they have done something in the front-most window.


          A standard scripted Freeze window is only valid until a script step occurs which acts directly on a Window's display, such as a change in mode, or an explicit change in record or layout where some action takes place.


          If you mean you want the front-most popup window to be locked in front until the user has interacted with it, not allowing them to click back into the background window, that requries some scripting, including setting Allow User Abort OFF.


          If the script is paused on the popup window with user abort Off, and only a button on the popup can continue the script, then you can lock your user into the popup window.


          In FMP12, we get a new Modal Window option which can be used to control this new feature without having to have a script paused. However, FM 11 and earlier require scripting with Allow User Abort OFF to accomplish the same thing.