Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6SP5 Assign UDF() return value to BackColor
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
VFP6SP5 Assign UDF() return value to BackColor
Miscellaneous
Thread ID:
00755334
Message ID:
00755334
Views:
28
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
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform