Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6SP5 Assign UDF() return value to BackColor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP6SP5 Assign UDF() return value to BackColor
Divers
Thread ID:
00755334
Message ID:
00755334
Vues:
34
Hi all

I have this textbox which needs its backcolor to be changed depending on it's value. This is what I have assigned to it:
=EVAL(THISFORM.ColorCurrency(THIS.VALUE, v_LKmBioChemistry.yHiBilirubinTotal, v_LKmBioChemistry.yLoBilirubinTotal))
I have tried the above with / without EVAL() but no luck. I currently have the following working code in the refresh but want to make the control more self-contained:
THIS.pgf.Page1.txtYBilirubinTotal.BACKCOLOR = THIS.ColorCurrency(THIS.pgf.Page1.txtYBilirubinTotal.VALUE, v_LKmBioChemistry.yHiBilirubinTotal, v_LKmBioChemistry.yLoBilirubinTotal)
Please advise.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform