1 Reply Latest reply on Dec 10, 2010 12:11 PM by philmodjunk

    Temporarily disable the red close button at the top right of a window

    trizko

      Title

      Temporarily disable the red close button at the top right of a window

      Post

      referring to posting:

      http://forums.filemaker.com/posts/f3f67c27c3#121885

      I cant seem to get this working. Can someone please be more specific about; what to do with the button that closes the window, and exits the loop?

        • 1. Re: Temporarily disable the red close button at the top right of a window
          philmodjunk

          The last post in that thread tells you what you need to do:

          Write a script:

          Close WIndow [current window] // or you can specify the actual window you want closed by name.

          Enter layout mode on the layout to be used with the window when you want this feature.

          Place a button on this layout and use button setup to select the above script as the script to be performed. In the Current script drop down, select "halt" in place of the default "pause" option.

          You can also end the above script with a Halt Script step and get the same results.