Jump to content

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


ibcarolek

This topic is 4286 days old. Please don't post here. Open a new topic instead.

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!

Link to comment
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

Link to comment
Share on other sites

This topic is 4286 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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