Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: Keybord Make only numberfield

TextField {
            id: number
            inputMode: TextFieldInputMode.Pin
            onTextChanging: {
                if(text == "A")
                   text = "B";
            }
        }
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Developer
Posts: 148
Registered: ‎01-08-2013
My Device: 9860
My Carrier: Airtel

Re: Keybord Make only numberfield

[ Edited ]

Above code does not work.

Highlighted
Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: Keybord Make only numberfield

Take a look at this example: https://github.com/blackberry/Cascades-Samples/blob/master/speedwriter/assets/speedwriter.qml
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter