You can use a rule that returns the text you want with the proper mark up to
change the color.    You can have this markup in the data itself, or you can
parse out the data and add it in code.  Make sure the "Treat returned string
as tagged text" is checked.

 

For an example, create a Rule with the following code:

var text = "This text is whatever color.  <color name=\"red\">This is
red.</color>.  This is, again, whatever color. ";

return text;

 

The "whatever" color text will be taken from the properties of the textbox.
Obvisouly this example isn't very dynamic, nor based upon a field, but
should give you a good step forward.

 

Cheers.

 

From: Franklin Miller [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 5:31 AM
To: FusionPro Users Forum
Subject: [fusionpro] Color in String of Text

 

All,

 

I have a string of text within a data field that my client would like to
have in RED and the remainder in BLACK.  Is it possible to change the color
of one word or phrase in an entire sting of text?  Following is the sting
from my data:

 

Enter the code XXXX-XXXX-XXXX at www.rccainstantwin.com
<http://www.rccainstantwin.com/> 

 

I need the code XXXX-XXXX-XXXX to be in RED and the remaining text to be
BLACK.  Again this entire line of text is a variable field within my data,
and I only need a portion of it to be red.

 

Thanks in advance,

 

--

Franklin Miller

Catawba Print & Mail, Inc.

Digital Printing and Direct Mail Services

Voice - (828) 324-2021 x 305

Fax - (828) 324-0063

Email - [EMAIL PROTECTED]

 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web
Users! Do you have a question or lots of knowledge to share about FusionPro
Web? If so, join our Printable Web to Print Users' Forum today! Send email
to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of
FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base,
FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently
subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe
send a blank email to [EMAIL PROTECTED] -- --
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the
recipient. Our privacy policy is posted on www.printplanet.com -- 



+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how! 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED] 
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--




--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to