You can try extending the ToolTip class and explicitly setting the
htmlText property from the commitProperties() method. For more
information, see http://flex-flex.net/blog/article.asp?id=18.

 

Peter

 

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jmfillman
Sent: Thursday, February 14, 2008 9:49 AM
To: [email protected]
Subject: [flexcoders] Tooltip Text Formatting

 

I need to format the labels in my tooltip text. In the following code, 
I need the literal values "Title:" and "Author:" to be in bold 
fontWeight, with using a normal fontWeight. How can I do this?

myButton.toolTip = "Title: "+this["books"+selectedArray]
[add].title+'\n'+"Author: "+this["books"+selectedArray][addAppt].author;

 

Reply via email to