Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Closing a new window?

Featured Replies

I have created a run time application & I have a button that opens a layout in preview mode so the user can see the report he will be printing. I can sort, print, etc the new window - but I cannot close it - the close X is not active.

The button that opens the new window to display this report is using the script:

Freeze Window

New Window[Name: "Effects Lising Preview"; Height: 550; Width: 600]

Select Window[Name: "Effects Listing Preview"; Current file]

Go to Layout ["Listing"(magicvault)]

Show/Hide Status Area [Lock;Hide]

Sort Records [Restore; no dialog]

Enter Preview Mode[]

Like i said, on the run time, when I click the button to open this preview window of the layout, I can do everything except close it.

Help!!! please

you will need to change your custom menus so that close window menu command will run your script doing what you want it to. Then instruct users to use the menu command and ignore window dressing.

This is a known bug in runtimes.

  • Author

eww a bug - has this bug been around in prior versions, or is it a new bug in v9?

Doing the menu method of closing is very clunky and not user friendly for a print preview window.

is this something that you expect to see fixed in a patch?

Even though it is a logged issue please report it. The more bug reports the higher it gets on the radar.

http://www.filemaker.com/company/problems.html

  • Author

I just reported it.

Do you know if the company is quick to fix issues like this?

DId this problem exist in older version, or is it new to v9?

Let's just say, don't hold your breath.

  • Author

was this bug in past versions too?

From my memory it's been a "feature" since version 7

  • Author

Thats not very encouraging that they have not fixed such a blatant bug in 3 1/2 versions.

It seems that would be such a major bug that so many people would complain about it.

I really dont want to have the user be expected to close a preview window via custom menu option, yet I need a print preview window.

I cant even script a close window button since bottons do not work in preview mode.

One 'very kludgy' workaround is to not use preview mode at all but show the user a layout in browse mode that represents the printed layout.

There would only be 2 working items on this menu, a 'back' button in case the user needs to amend something and a 'print' button should they be satisfied with the data as presented.

You can pause a script at the point of display and the print button can just be a continuation of the script which can close the new window.

I know it aint perfect but it has gotten me out of a hole before now.

HTH

Phil

  • Author

My only issue with that is that the browse mode does not reflect the sliding objects and looks horrible in my layout.

  • Author

well I have a very junky work around to avoid the menu.

When they preview the layout, it also opens a second window as a browse layout with a close button - I will use this as a Print Preview instructions window and hopefully that will work.

Not the cleanest method - sheesh... a tool so powerful, yet carries a lingering bug so obviously glaring.

why on earth hasnt this been fixed to allow the close X gui... uggghhh

Thanks all for all your help and guidance - Im new to FMP and so far like it except for the quirks like this!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.