Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid fonts color
Message
 
To
05/02/2004 08:44:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00873284
Message ID:
00874401
Views:
52
LOCAL m_activecoll
local lnColor, cfld
lnColor = rgb( 0, 0, 0 )
m_activecoll = thisform.GrdInvRes.ActiveColumn
IF m_activecoll # 0
  cfld = EVALUATE(FIELD(m_activecoll,"xtabresult"))
  IF TYPE("cfld")
     do case
        case cfld = 'NEG'
             lnColor = rgb( 255, 0, 0 )
        case cfld $ 'POS AFF'
             lnColor = rgb( 0, 255, 0 )
     endcase
  ENDIF
ENDIF
return lnColor
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