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:
00148211
Vues:
17
Christof,

The speed of arrayy access vs method call isn't an issue at all in this app. The grid only displays a p-view that is always 5 records, and the grid is sized so the 5 rows exactly fit, no scrollbars.

>In this case it should be faster to use an array with 5 rows and then use the following expression:
>
>IIF( BETWEEN(RECNO(),1,5), Thisform.aColors[RECNO()], RGB(192,192,192) )
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform