Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid fonts color
Message
 
À
05/02/2004 08:44:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00873284
Message ID:
00874401
Vues:
53
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform