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.

Featured Replies

It has been documented that FM12 introduced some serious issues with the onlayoutkeystroke trigger on windows machines, especially when a barcode scanner is involved.  The issue is that the script trigger seems to interrupt the stream of characters coming in from the barcode scanner.  While this worked fine in FM11, this method is now useless in FM12 on Windows.

 

The recommended workaround is to add a global field to the layout, and use "onobjectexit" to return the cursor to the field after each scan.  While this works fine for simple cases, I am trying to migrate a FM11 file that uses the onlayoutkeystroke method to FM12.  The issue is that I have a rich layout with several action buttons and tab controls involved.  While I can script around the tab controls, I have been stuck at how to handle buttons in portal rows on this layout.  Clicking on a button inside a portal fires the onobjectexit script before the buttons script, so I can not use a global variable to disable the onoblectexit script.  

 

See the attached sample file for a skeleton breakdown of the problem (same problem on windows and mac).

 

Does anyone know of either:

A method to allow buttons inside of portals using the onobjectexit routine?

 

An alternate workaround that allows scanning input to be accepted while still having a rich layout with buttons in portals?

 

Any news on if the onlayoutkeystroke issue will be resolved for FM12 on windows soon?

 

It would be a serious setback for the functionality of the solution if users are required to bounce back and forth between a simple "scan accepting" layout and a more feature rich non scanning layout, but that is the only solution I can think of at the moment for FM12 on windows.

 

Any insights greatly appreciated.

 

-Raz

 

 

 

 

OnObjectExitProblem.fmp12.zip

  • 2 weeks later...

Well, I popped in for just this problem.  Good to know it is not just me.

 

We scan the 2D Barcode from AAMVA ( Auto Titles, Registrations, ...) with a Honeywell 4600r.  I had setup OnKeyStroke to pick off the ASCII 31 Record Separators, and tack on a FileMaker CR/LF to the field, as it was scanning.  Was impressed the FileMaker 11 could do that.

 

I had even slowed down the scanner for 12, thinking it was just moving too fast.  At least I will not be wasting anymore time trying to get FileMaker 12 to actually work with this scan.  Will give the OnObjectExit a try first.  After that, I will just shelve it & check for fixes, on the new releases.

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.