CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Yahoo Tabs - Colouring text problem

Print topic Send  topic

Author Message

Posts: 16
Posted: 05/30/2008, 11:19 AM


I have a problem, I am trying to colour text in a browse based on the status or priority field.

This is normally not a problem but it seems to be when the browse is inside a tab on a tab view.

Normally you would do the code below in the Before Show Row but is doesen't work when it is on a tab?

function Tasks_Priority_BeforeShow(& $sender) {
global $Tasks;

if ($Tasks->Priority->GetValue() == "High") {
$Tasks->Priority->SetValue("<font color=RED>".$Tasks->Priority->GetValue()."</font>");
} else if ($Tasks->Priority->GetValue() == "Lowest") {
$Tasks->Priority->SetValue("<font color=GREEN>".$Tasks->Priority->GetValue()."</font>");


Does any have a work around or another way of writing this $Tasks->Priority->SetValue("<font color=GREEN>".$Tasks->Priority->GetValue()."</font>"); so it works in the tab?

Thanks for any helpl

Jon Fletcher
View profile  Send private message

Posts: 1679
Posted: 06/03/2008, 5:36 AM

This Forum is for posting Tips & Solution, not questions.
Please repost in correct forum, f.i. CodeCahrgeStudio PHP
Thank you.

Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me:
View profile  Send private message

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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

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