SubmitKey

Since: BlackBerry 10.0.0

#include <bb/cascades/SubmitKey>

A class containing different values used for the Submit key.

By using this class with a text input control, you can change the string that appears on the Submit button on the virtual keyboard. The default value is dependant on the type of TextFieldInputMode that's used by the text field.


Overview

Public Types Index

enum Type

None 0, Default 1, Go 2, Join 3, Next 4, Search 5, Send 6, Submit 7, Done 8, Connect 9, EnterKey 10, Replace 11

Public Types

Type

Specifies different submit key options.

Since:

BlackBerry 10.0.0

None 0

Excludes the submit key from the virtual keyboard.

Default 1

Sets the text of the virtual keyboard submit key to the default value.

Since:

BlackBerry 10.0.0

Go 2

Sets the text of the virtual keyboard submit key to "Go".

Since:

BlackBerry 10.0.0

Join 3

Sets the text of the virtual keyboard submit key to "Join".

Since:

BlackBerry 10.0.0

Next 4

Sets the text of the virtual keyboard submit key to "Next".

Since:

BlackBerry 10.0.0

Sets the text of the virtual keyboard submit key to "Search".

Since:

BlackBerry 10.0.0

Send 6

Sets the text of the virtual keyboard submit key to "Send".

Since:

BlackBerry 10.0.0

Submit 7

Sets the text of the virtual keyboard submit key to "Submit".

Since:

BlackBerry 10.0.0

Done 8

Sets the text of the virtual keyboard submit key to "Done".

Since:

BlackBerry 10.0.0

Connect 9

Sets the text of the virtual keyboard submit key to "Connect".

Since:

BlackBerry 10.0.0

EnterKey 10

Sets the symbol of the virtual keyboard submit key to the default Enter symbol.

This submit key looks like the Enter/Newline key but behaves like a submit key and emits a submitted() signal when tapped.

Since:

BlackBerry 10.2.0

Replace 11

Sets the text of the virtual keyboard submit key to "Replace".

Since:

BlackBerry 10.2.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus