Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating an expresion with colors

Status
Not open for further replies.

Gonfer

Programmer
Jul 4, 2007
22
CA
Hi guys,

I have defined an expression (fx) for a textbox showing the result of 3 different calculations in just in one textbox.

Based in this formula:

=CStr(Count(...))&" "&CStr(Count(...))&" "&CStr(Count(...))

I can get the counting for each one correctly, and show the 3 values concatenated as a string, that works!!, but I need to show in the textbox the result for each calculation with a different color: example if a display in the textbox : 10 20 30, but I need to show them with different colors each one.

I've tried to use placeholders, but it just works when you type the content in the textbox, in my case the the content is the result of an expresion (fx)

Please, I will appreciate any suggestion.

GonFer


 
A quick thought would be to put three placeholders in the textbox, each separated by a space. Each placeholder can then have its own expression and formatting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top