Jump 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.

Avoid flashing while using the go to layout script on windows

Featured Replies

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.

Hi Guru,

Start your script with Freeze Window[]. At the end of your script, the widow will automatically refresh. :^)

  • 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.

Screen1.jpg

Have you got the latest driver for your graphics card?

  • Author

Yes liltbrockie

I have latest driver with my computer

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.

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.

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?

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.

Need a way to make related record without switching layouts?

http://www.filemakerhacks.com/?p=2364

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

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 ... :jester:

So which comes first ... the relationship or the child? LOL>

Create an account or sign in to comment

Important Information

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

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.