Jump to content
Sign in to follow this  
ibcarolek

Numeric Keypad "Enter" doesn't work in edit box

Recommended Posts

Is there a plug-in or a workaround to FM 11 not recognizing the Windows keyboard "enter" key on the numeric keypad for entering data into an edit box? The edit box holds a list of items which are defined by numbers. However each number needs to be separated by a return. Googling shows this has been a long time issue - I'm hopeful someone has a solution by now?

Fingers Crossed!

Share this post


Link to post
Share on other sites

Try using a script trigger using OnObjectKeystroke.

You should be able to use a trigger to capture for the Enter key and then Insert a return instead.

Try something like:

Set Variable [ $tk; Get ( TriggerKeystroke ) ]

Set Variable [ $tc; Code ( $tk ) ]

If [ $tc = 10 ]

Insert Calculate Result [ Char ( 13 ) ]	 // ( You can also use Insert Text [ ] with a a carriage return )

Exit Script [ 0 ]

End If

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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