Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid DynamicBackColor Using A Method Instead of IIF?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00148063
Message ID:
00148076
Vues:
24
Hi Michael,

>I have a grid I need to have many different row colors based on the value of a field. Easy enough using an IIF in the DynamicBackColor property. However, I need to check for about 15 different values. Obviously, I can't nest IIF's this deep. My next idea was to created a method in the grid class which returns the proper color, but this doesn't seem to work either.

In which way doesn't it seem to work?

Since method calls are rather slow, you should consider to use an array. What kind of conditions do you have?

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform