CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Change Text Color

Print topic Send  topic

Author Message
JoeyBoy
Posted: 11/19/2004, 8:01 AM

REading the manual and searching thif forum, I found the procedure to change the label color based in its value, its work fine when the value is text, but when its float (number) the label just dissapear.

This is my code, in the beforeShow event of the Label:

If Payment.DocTotal.Value < 0 then
Payment.DocTotal.Value = "<font color=RED>"& Payment.DocTotal.Value &"</font>"
else

end if

the label is set to HTML, as the manual sez....
DonB
Posted: 11/19/2004, 10:21 AM

You must ensure the datatype of the source column matches the datatype of
the Label. Did you do that?

--
DonB

http://www.gotodon.com/ccbth


"JoeyBoy" <JoeyBoy@forum.codecharge> wrote in message
news:6419e18eb057d0@news.codecharge.com...
> REading the manual and searching thif forum, I found the procedure to
change the
> label color based in its value, its work fine when the value is text, but
when
> its float (number) the label just dissapear.
>
> This is my code, in the beforeShow event of the Label:
>
> If Payment.DocTotal.Value < 0 then
> Payment.DocTotal.Value = "<font color=RED>"& Payment.DocTotal.Value
> &"</font>"
> else
>
> end if
>
> the label is set to HTML, as the manual sez....
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.