inputReturnKey

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
inputReturnKey
Summary

Sent when the return key is pressed and focus is removed from an mobile text input control.

Introduced4.6
OSios, android
Platformsmobile
Example
on inputReturnKey
-- save the details when the return key is pressed, then focus on the next control
   saveUserName
   mobileControlDo tEmailFieldID, "focus"
end inputReturnKey
RelatedCommand: mobileControlCreate, mobileControlDelete, mobileControlSet
Function: mobileControlGet, mobileControlTarget, mobileControls
Message: inputEndEditing, inputTextChanged, inputBeginEditing
Description

The inputReturnKey message is sent when the return key is pressed and focus is removed from the mobile text input control.

Handle the inputReturnKey message if you want 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.

The inputReturnKey message is sent to the object containing the script that created the text input control.