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
khalidup
Posts: 43
Registered: ‎11-16-2013
My Device: Z10

Re: Deselect the text

@BBSJdev

 

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

Please use plain text.
Developer
BBSJdev
Posts: 6,116
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

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. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
khalidup
Posts: 43
Registered: ‎11-16-2013
My Device: Z10

Re: Deselect the text

Ok, Can you give me a simple example.

Please use plain text.
Developer
BBSJdev
Posts: 6,116
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

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. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
khalidup
Posts: 43
Registered: ‎11-16-2013
My Device: Z10

Re: Deselect the text

@BBSJdev

 

Thank you anyway.

Please use plain text.