Select to view content in your preferred language

Change Field Name font color in Identify Widget

659
5
06-10-2010 11:33 AM
LizDaRos
Occasional Contributor
Hi, I am trying to change the color of the field name in the Identify widget. I am using the code from this thread
http://forums.esri.com/Thread.asp?c=158&f=2421&t=295783&mc=7#msgid922971
content += "<font color='#FFFF00'>" +  fldArr + ": </font>" + value + "\n";
      //content += fldArr + ": " + value + "\n";

content += "<font color='#FFFF00'>" + fld + ": </font>" + value + "\n";
      //content += fld + ": " + value + "\n";
but it does not seem to work. It shows up as-
<font color='#FFFF00'>TYPE: </font>PARCEL
Anyone else have this problem or any suggestions?

Thanks~
Tags (2)
0 Kudos
5 Replies
JacksonTrappett
Occasional Contributor II
__________________
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Liz,

    You have to have the updated RecordData.mxml and the InfoPopup.mxml components from the zip file at this link for the field name color to work.

http://forums.esri.com/Thread.asp?c=158&f=2421&t=295586&mc=5#922427
0 Kudos
LizDaRos
Occasional Contributor
That did the trick, thanks so much Robert!
0 Kudos
MarcWeinshenker1
Occasional Contributor
Is there a solution to this in the 2.2 realm?  Adding the inline font tags doesn't seem to work.

Thanks,
Marc
0 Kudos
KateLyndegaard
New Contributor III
That did the trick, thanks so much Robert!



Dear Liz;

Could you please tell me where you dropped the .mxml's in your flexviewer file structure to make your font color change take effect? I'm trying to do this with the identify widget.

Thank you,
Kate.
0 Kudos