Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6113 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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?

Posted

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

Posted

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?

Posted

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.

Posted

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

Posted

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!

This topic is 6113 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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