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: 43
Registered: ‎04-01-2014
My Device: Z10, Q10
My Carrier: vodafone

Hide cursor in TextArea

Hi,

 

we have a TextArea in QML. If you press on the text area a cursor appear. If you tap twice a circle appears which allows you to move the cursor. What needs to be done to make that the text area does not respond to touch events and does not show a cursor or starts showing a large circle when tapping twice?

 

Best regards,

 

René

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Hide cursor in TextArea

If you would like it to not be editable, then set it's editable property to false.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Highlighted
Developer
Posts: 43
Registered: ‎04-01-2014
My Device: Z10, Q10
My Carrier: vodafone

Re: Hide cursor in TextArea

I have editable on false. But this still allows you to tap on the text area and then a cursor is shown. I would like to disable the cursor completely.

 

BR,

 

René

Developer
Posts: 263
Registered: ‎05-18-2011
My Device: Curve 9300, BB10 Dev Alpha C, Z10

Re: Hide cursor in TextArea

So, what is the point of using a text area? Why not use a label instead?
--tom