SubmitKeyFocusBehavior

Since: BlackBerry 10.0.0

#include <bb/cascades/SubmitKeyFocusBehavior>

A class representing different submit key focus behaviors.

This class represents different submit key focus behaviors. The behavior is only used when a submit key is set, otherwise it will be ignored. The behavior will control what will happen to the controls focus when the submit key is pressed.


Overview

Public Types Index

enum Type

Default = 0, Keep = 1, Next = 2, Lose = 3

Public Types

Type

Specifies different submit keys focus behaviors.

Since:

BlackBerry 10.0.0

Default = 0

Sets the submit key focus behavior to "Default".

Keep = 1

Sets the submit key focus behavior to "Keep".

The control will keep focus if submit is pressed in this control.

Since:

BlackBerry 10.0.0

Next = 2

Sets the submit key focus behavior to "Next".

When submit is pressed in this control, focus will move to the next focusable control, or if none exists. Focus will be lost and the Virtual keyboard will disappear.

Since:

BlackBerry 10.0.0

Lose = 3

Sets the submit key focus behavior to "Lose".

When submit is pressed in this control, focus will be lost.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



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

comments powered by Disqus