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 -> Tips & Solutions

 Yahoo Tabs - Colouring text problem

Print topic Send  topic

Author Message
jcf

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

Hi

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

JCF
_________________
Jon Fletcher

www.arrowbyte.com
View profile  Send private message
wkempees


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: http://donate.consultair.eu
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 http://support.yessoftware.com.

Web Database

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

Home   |    Search   |    Members   |    Register   |    Login


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