This is a public Forum  publicRSS

Forum post

    trizko
    Temporarily disable the red close button at the top right of...Answered
    Forum post posted December 10, 2010 by trizko, last edited February 9, 2012 
    452 Views, 1 Comment
    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?

    Best Answer

    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.