mobileSetKeyboardReturnKey | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | iphonesetkeyboardreturnkey | ||||||
Summary | Configures the type of return key displayed on the keyboard. | ||||||
Introduced | 4.5.3 | ||||||
Changes | LiveCode 9.5 added support for android | ||||||
OS | ios, android | ||||||
Platforms | mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Command: mobileSetKeyboardType Message: keyboardDeactivated, keyboardActivated, openField Property: returnKeyType | ||||||
Description | Use the mobileSetKeyboardReturnKey command to configure the type of return key displayed on the keyboard. The mobileSetKeyboardReturnKey command configures the type of return key displayed on the keyboard The return key type setting takes effect the next time the keyboard is shown - it does not affect the currently displaying keyboard, if any. If you wish to configure the keyboard options based on the field that is being focused, simply use the commands in an openField handler of the given field. The keyboard is only shown after this handler returns, so it is the ideal time to configure it. Note: If a field has a non-empty returnKeyType that value will override the the value set by mobileSetKeyboardReturnKey. |