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: 45
Registered: ‎11-16-2013
My Device: Z10
My Carrier: AT&T

Re: Deselect the text

@BBSJdev

 

Ok,How can this work?
I have tried a lot but nothing changes?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Deselect the text

Disabling a control basically stops any signals being recieved by it, TextArea won't recieve any touch events so won't display the edit dialog.

 

The control will look faded out but this is a good indicator to your user that something has changed and they can no longer edit the text.

 


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 45
Registered: ‎11-16-2013
My Device: Z10
My Carrier: AT&T

Re: Deselect the text

Ok, Can you give me a simple example.

Highlighted
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Deselect the text

[ Edited ]
        TextArea {
            enabled: false		// Disables the control (no signals)
            editable: false		// Disables editing of text but keeps copy/paste
            text: "Disabled TextArea control differences"
        }

 


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 45
Registered: ‎11-16-2013
My Device: Z10
My Carrier: AT&T

Re: Deselect the text

@BBSJdev

 

Thank you anyway.