Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Wish, ICASE()..
Message
De
24/10/1999 14:11:12
 
 
À
24/10/1999 08:50:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00280338
Message ID:
00280612
Vues:
9
Hi Sylvain,

>IMHO, it would make the code too hard to read in many cases.

Hmm, Whats more readale:
DynamicBackColor = 'icase(Field <= 1, rgb(0,255,0) , Field <= 10, rgb(255,0,0) , Field <= 15, rgb(0,0,255))'

or

DynamicBackColor = 'iif(Field <= 1, rgb(0,255,0) , iif(Field <= 10, rgb(255,0,0) , iif(Field <= 15, rgb(0,0,255), rgb(0,0,0))))'
I would say the top, why would the bottom be more readable?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform