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
Highlighted
Regular Contributor
Posts: 56
Registered: ‎08-21-2012
My Device: BB10
My Carrier: RIM

Re: How to set keyboard layout?

Hi,

 

I also want the numeric keyboard to popup when the user touch on the text field. I tried your snipet, but I think the touch Signal of text field is not proper. (I've observed that the slot is not called.) I even tried calling your method onExampleTouch from QML (onTouch of my text field) but no change.

 

If I call the same method i.e. onExampleTouch onClick of any button I get the numeric keyboard. So the problem is inside onTouch signal of TextField. Am I right? or I'm making some silly mistake? pl Guide. Thanks

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: How to set keyboard layout?

I think this knowledge base article shows how to display a numerical keyboard:

http://supportforums.blackberry.com/t5/Cascades-Development-Knowledge/Using-QImage-and-QPainter-to-P...

 

Martin