Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid fonts color
Message
 
To
05/02/2004 04:41:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00873284
Message ID:
00874351
Views:
46
OK:
HURRAY, now I understood you (after I run _genxtab on my table, because I never used it before)
FOR i = 1 TO thisform.GrdInvRes.ColumnCount
    ******
    **You must skip the columns that are not interesting
    ****
    dynamic_color = "IIF(xtabresult."+FIELD(i)+"='NEG',RGB(255,255,255),IIF(xtabresult."+FIELD(i)+" $ 'POS AGG',RGB(255,255,128),RGB(0,0,0)))"
    thisform.GrdInvRes.Columns(i).dynamicforecolor = dynamic_color
thisform.GrdInvRes.Refresh() 
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform