Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll(
Message
De
28/07/2004 10:38:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00928699
Message ID:
00928712
Vues:
25
Hi, Sergey

You made me think then. AP_FACTOR should be CENZNFLD.AP_FACTOR - it's another field from CENZNFLD. And of course it's outside the scan loop. So I tried that and i get the grid ALL white on blue, not just the criteria recs. I had also tried TRANS(), before this, but got the same all blue, as indeed the square brackets result.

Any other ideas?

Cheers
Terry

>Terry,
>
>What's AP_FACTOR factor? If it's #DEFINE constant than it'll not be evaluated in the string literal enclosed in the single or double quotes. Use square brackets to get it evaluated.
.SetAll( "DynamicBackColor", [IIF( AP_FACTOR > 0, RGB( 0, 0, 255), RGB( 255, 255, 255))], "Column")
>
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform