A Message sent when the return key is pressed and focus is removed from an mobile text input control. If there is a message handler by the same name in the message path, then it will be executed.
Message[]
Syntax:
inputReturnKey
The inputReturnKey message is sent when the return key is pressed and focus is removed from the mobile text input control.
The inputReturnKey message is sent to the object containing the script that created the text input control.
Message handler[]
Examples:
on inputReturnKey -- save the details when the return key is pressed, then focus on the next control saveUserName mobileControlDo tEmailFieldID, "focus" end inputReturnKey
Use the inputReturnKey Message handler to make changes to the interface or perform an action when the return key is pressed and focus is removed from an iosTextInput, androidTextInput or androidMultiline control.
See also: mobileControlSet, mobileControlGet, mobileControlTarget, mobileControls, inputEndEditing, inputTextChanged & inputBeginEditing.