1 Reply Latest reply on Apr 10, 2012 9:26 AM by TSGal

    Code(Get(TriggerKeystroke)) returns 13 and not 10 when you hit the 'Enter' key

    bjarra

      Summary

      Code(Get(TriggerKeystroke)) returns 13 and not 10 when you hit the 'Enter' key

      Product

      FileMaker Pro

      Version

      12v1

      Operating system version

      Windows XP SP3

      Description of the issue

      According to documentation Code function should return 10, when Enter key is pressed. FileMaker 12v1 returns 13 (Return).

      FileMaker 11v3 returns 10 as expected

      Steps to reproduce the problem

      Create a script like:

      Set variable [$KeyStroke; Value:Code(Get(TriggerKeystroke))]

      Select the script to run as 'OnLayoutKeystroke' in the 'Layout Setup' dialog.

      Hit the Enter key on that Layout, while Debuging.

      Expected result

      10

      Actual result

      13