1- Name: iphoneSetKeyboardReturnKey
1+ Name: mobileSetKeyboardReturnKey
2+
3+ Synonyms: iphoneSetKeyboardReturnKey
24
35Type: command
46
5- Syntax: iphoneSetKeyboardReturnKey <returnKey>
7+ Syntax: mobileSetKeyboardReturnKey <returnKey>
68
79Summary:
810Configures the type of return key displayed on the keyboard.
911
1012Introduced: 4.5.3
1113
12- OS: ios
14+ Changes: LiveCode 9.5 added support for android
15+
16+ OS: ios, android
1317
1418Platforms: mobile
1519
1620Example:
17- iphoneSetKeyboardReturnKey "alphabet"
21+ mobileSetKeyboardReturnKey "alphabet"
1822
1923Example:
20- iphoneSetKeyboardReturnKey "numeric"
24+ mobileSetKeyboardReturnKey "numeric"
2125
2226Parameters:
2327returnKey (enum):
2428Specifies what the return key function is.
2529
2630- default: the normal return key
2731- go: the 'Go' return key
28- - google: the 'Google' return key
29- - join: the 'Join' return key
32+ - google: the 'Google' return key (iOS only)
33+ - join: the 'Join' return key (iOS only)
3034- next: the 'Next' return key
31- - route: the 'Route' return key
35+ - route: the 'Route' return key (iOS only)
3236- search: the 'Search' return key
3337- send: the 'Send' return key
34- - yahoo: the 'Yahoo' return key
38+ - yahoo: the 'Yahoo' return key (iOS only)
3539- done: the 'Done' return key
36- - emergency call: the 'emergency call' return key
40+ - emergency call: the 'emergency call' return key (iOS only)
3741
3842
3943Description:
40- Use the iphoneSetKeyboardReturnKey command to configure the type of
44+ Use the mobileSetKeyboardReturnKey command to configure the type of
4145return key displayed on the keyboard.
4246
43- The <iphoneSetKeyboardReturnKey > command configures the type of return
47+ The <mobileSetKeyboardReturnKey > command configures the type of return
4448key displayed on the keyboard
4549
4650The return key type setting takes effect the next time the keyboard is
@@ -50,7 +54,10 @@ being focused, simply use the commands in an <openField> handler of the
5054given field. The keyboard is only shown after this handler returns, so
5155it is the ideal time to configure it.
5256
57+ >**Note:** If a field has a non-empty <returnKeyType> that value will override
58+ > the the value set by <mobileSetKeyboardReturnKey>.
59+
5360References: mobileSetKeyboardType (command),
5461keyboardDeactivated (message), keyboardActivated (message),
55- openField (message)
62+ openField (message), returnKeyType (property)
5663
0 commit comments