Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set DynamicBackColor by Group
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003119
Message ID:
01003122
Views:
18
Hi,
THISFORM.mygrid.SETALL("DYNAMICBACKCOLOR", "myfunc(UPSINO)", "COLUMN")

FUNCTION myfunc
LPARA tcUPSINO

DO CASE
CASE tcUPSINO = "00001"
   RETURN RGB(0,255,0) && Green
CASE tcUPSINO = "00002"
   RETURN RGB(255,255,255)
....
ENDCASE
HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform