Run script when closing popups
When I began designing my solution, I disabled the close window button (the "X"). I did this because I created an "ok" button on my popups that run various scripts when a user clicks on it. These scripts validate fields, etc before closing the window and running a script that maximizes the main window on win platforms. I want these same scripts to run when a user clicks the "X" button. I use FMP12 advanced and I know there is a way to customize what these buttons do, however I'm not sure if it is a universal setting or if the "x" button can be programmed uniquely for each popup window. Can anyone clarify?