FocusPolicy
#include <bb/cascades/FocusPolicy>
Represents different focus policies, which specify how a control can receive focus from a user's interation.
Whether or not a control can receive focus during a user interaction, it can always receive focus programmatically (i.e. by calling the Control::requestFocus function).
BlackBerry 10.0.0
Public Types Index
enum TypeDefault = 0x0, None = 0x1, Touch = 0x2, Key = 0x4, KeyAndTouch = Touch | Key |
Public Types
Specifies the different focus policy for a control.
BlackBerry 10.0.0
- Default = 0x0
The default focus policy preferred by the Control.
Since:BlackBerry 10.0.0
- None = 0x1
Control is only focusable programmatically.
Since:BlackBerry 10.0.0
- Touch = 0x2
Control can be focused by touch input.
Since:BlackBerry 10.0.0
- Key = 0x4
Control can be focused by key input.
Since:BlackBerry 10.0.0
- KeyAndTouch = Touch | Key
Control can be focused by both touch and key input.
Since:BlackBerry 10.0.0