November 27, 201114 yr When i use the script "Go to layout" there is flashing with the screen on my windows filemaker application Could anyone please give me your idea to avoid this type of flashing while using the "Go to layout" script Or Please give me other suggestions to avoid this ! Thanks in advance.
November 27, 201114 yr Hi Guru, Start your script with Freeze Window[]. At the end of your script, the widow will automatically refresh. :^)
November 28, 201114 yr Author Hi LaRetta I must use the "go to layout" when i need to navigate from one screen to another screen.. Here the Freeze window script will not prevent the flashing... Please find the script lines with the attached screenshot.
November 28, 201114 yr It is a fact that Windows flashes more than Mac. The script presented (although it contains unnecessary lines) does not produce flash in Windows XP; it simply is not complex enough. Have you updated your FileMaker to the latest updater, V3? Do you happen to have any script triggers which fire? If this is the exact script which flashes, it may very well be a bug specific to Windows 7 but there have been no other reports of the issue that I recall. Nonetheless, you can post on FileMaker forum and report as bug here http://forums.filemaker.com/hives/1eea103f05/summary.
November 28, 201114 yr Personally, I would move the Freeze Window as close to the layout changes as possible. Some script steps are known to disable the freeze condition, but I've never been absolutely certain which ones. Just a thought.
November 28, 201114 yr Thanks for bringing this up! It seems easier to begin script with Freeze Window[] and only issue another Freeze Window[] within the script if an action unfreezes it. I don't know all actions which might unfreeze it either but debug points them out when I'm writing the script. And some scripts just need to move their windows to coordinates off-screen while running. In this case, we were given a specific script and it contains no such 'unfreeze' steps so I think it is either something else not-yet-identified or it is a bug. Hey, Gurusamy, one further thought ... maybe the flash isn't from the script at all. Maybe the layout (or what is on it) itself is causing the flash during ingress and egress. I asked about script triggers; particularly one attached to the Layout. Also, is the Contacts layout a table view? Is it sorted? Are there lots of unstored calcs? If form view, does it have a portal with a lot of records or aggregates to display? I am asking because the flash may be taking place immediately after the script finishes as it redraws or recalculates a more-complex screen. Can you check for layout script triggers on either the starting or ending layouts and also tell us about the contacts layout?
November 28, 201114 yr I get a bit ahead of myself ... LOL ... what you might try as a test is making the layouts on both sides just simple, blank, form views and see if you notice a difference.
November 29, 201114 yr Need a way to make related record without switching layouts? http://www.filemakerhacks.com/?p=2364
November 29, 201114 yr Need a way to make related record without switching layouts? (groan) http://fmforums.com/forum/topic/81365-create-new-record-to-another-table-without-using-the-goto-layout-script/page__view__findpost__p__377845
November 29, 201114 yr LOL, I DO feel like I'm on a highway which is circling upon itself in the way that these posts for gurusamy are overlapping ... So which comes first ... the relationship or the child? LOL>
Create an account or sign in to comment