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

Adobe AIR Development

Reply
Highlighted
Contributor
Posts: 21
Registered: ‎06-25-2010
My Device: Bold 9700
My Carrier: Rogers
Accepted Solution

HTML in Text Area

Is there a way to include html in a ritch text field? I've read up on textFlow, but this doesn't appear to be a supported property of the mobile spark components.

 

Any help would be greatly appreciated.

Contributor
Posts: 21
Registered: ‎06-25-2010
My Device: Bold 9700
My Carrier: Rogers

Re: HTML in Text Area

Looks like doing:

 

MobileTextField(txtMyTextArea.textDisplay).htmlText = "sample <b>text</b>";

 

works, just needed to import:

 

import spark.components.supportClasses.MobileTextField;