Mark Reed Posted February 27, 2008 Posted February 27, 2008 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
Ocean West Posted February 27, 2008 Posted February 27, 2008 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.
Mark Reed Posted February 28, 2008 Author Posted February 28, 2008 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?
Ocean West Posted February 28, 2008 Posted February 28, 2008 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
Mark Reed Posted February 28, 2008 Author Posted February 28, 2008 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?
David Jondreau Posted February 28, 2008 Posted February 28, 2008 Let's just say, don't hold your breath.
Mark Reed Posted February 28, 2008 Author Posted February 28, 2008 was this bug in past versions too?
Ocean West Posted February 28, 2008 Posted February 28, 2008 From my memory it's been a "feature" since version 7
Mark Reed Posted February 29, 2008 Author Posted February 29, 2008 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.
Inky Phil Posted February 29, 2008 Posted February 29, 2008 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
Mark Reed Posted February 29, 2008 Author Posted February 29, 2008 My only issue with that is that the browse mode does not reflect the sliding objects and looks horrible in my layout.
Mark Reed Posted February 29, 2008 Author Posted February 29, 2008 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now