TextInputFlag
#include <bb/cascades/TextInputFlag>
Flags for turning on and off different text features (for example, spell check).
BlackBerry 10.0.0
Public Types Index
enum TypeDefault = 0x00, SpellCheck = (1<<0), SpellCheckOff = (1<<1), Prediction = (1<<2), PredictionOff = (1<<3), AutoCorrection = (1<<4), AutoCorrectionOff = (1<<5), AutoCapitalization = (1<<6), AutoCapitalizationOff = (1<<7), AutoPeriod = (1<<8), AutoPeriodOff = (1<<9), WordSubstitution = (1<<10), WordSubstitutionOff = (1<<11), VirtualKeyboard = (1<<12), VirtualKeyboardOff = (1<<13) |
Public Types
Text feature flags used to turn on and of text features.
If both the on and off flag for a certain feature is set to 1 at the same time, the behavior is undefined. If both are set to 0, the default behavior for the given control and input mode are used.
BlackBerry 10.0.0
- Default = 0x00
Default settings for all features will be used.
Since:BlackBerry 10.0.0
- SpellCheck = (1<<0)
Turn on spell checking.
Since:BlackBerry 10.0.0
- SpellCheckOff = (1<<1)
Turn off spell checking.
Since:BlackBerry 10.0.0
- Prediction = (1<<2)
Turn on word predictions.
Since:BlackBerry 10.0.0
- PredictionOff = (1<<3)
Turn off word predictions.
Since:BlackBerry 10.0.0
- AutoCorrection = (1<<4)
Turn on auto correction.
Since:BlackBerry 10.0.0
- AutoCorrectionOff = (1<<5)
Turn off auto correction.
Since:BlackBerry 10.0.0
- AutoCapitalization = (1<<6)
Turn on auto capitalization.
Since:BlackBerry 10.0.0
- AutoCapitalizationOff = (1<<7)
Turn off auto capitaliztion.
Since:BlackBerry 10.0.0
- AutoPeriod = (1<<8)
Turn on auto period.
Since:BlackBerry 10.0.0
- AutoPeriodOff = (1<<9)
Turn off auto period.
Since:BlackBerry 10.0.0
- WordSubstitution = (1<<10)
Turn on word substitution.
Since:BlackBerry 10.0.0
- WordSubstitutionOff = (1<<11)
Turn off word substitution.
Since:BlackBerry 10.0.0
- VirtualKeyboard = (1<<12)
Turn on virtual keyboard.
Since:BlackBerry 10.0.0
- VirtualKeyboardOff = (1<<13)
Turn off virtual keyboard.
Since:BlackBerry 10.0.0