Bold?

Hi, how I can place Bold letters inside TextArea components?

thanks

Hi,

Not very clear about ur question. But still see is this is what u looking 4

yourTextArea.html = true; // yourTextArea is the name given to
// TextArea component
yourTextArea.htmlText = “Hi “+”<b>” + arturo + “</b>”;

If u want everythign in bold letters then u can set bold property to true.

yourTextArea.bold = true;


aShIsh

well, thanks a lot dude, but it’s not working, my TextArea it’s called tacodigo, I placed this:

yourTextArea.bold = true;

but it’s not working, i’m populating that component from a XML file

thanks!!!

Hi

I am sorry to get this work (.bold = true) u need to have a dynamic textfield or input textfield. Anyways here is another way, since TextArea Component supports html property.

var makeBold = “<b>”;
var makeBoldClose = “</b>”;
tavodiago.html = true;
tavodiago.text ="hello " + makeBold + “abcd” + makeBoldClose + " how are you " ;


aShIsH
This is the way it will work