returnKeyType

Typeproperty
Dictionaryandroid.field
LibraryAndroid Native Field
Syntax
set the returnKeyType of <widget> to <pType>
get the returnKeyType of <widget>
Associationscom.livecode.widget.native.android.field
Summary

The type of action assigned to the return key on the keyboard associated with this field widget.

OSandroid
Example
set the returnKeyType of widget "Android Field" to "previous"
Values
NameTypeDescription
Value
  • "default": the normal return key action
  • "none": no return key action
  • "go": take the user to the target of the text they typed
  • "next": move to the next field that will accept text
  • "previous": move to the previous field that will accept text
  • "search": take the user to the results of searching for the text they have typed
  • "send": deliver the text to its target
  • "done": close IME
Description

Use the returnKeyType property to determine what kind of action should be performed when the return key on the keyboard associated with this field widget is pressed.