Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to NOT change DynamicBackColor
Message
De
24/02/2005 07:43:31
 
 
À
23/02/2005 19:34:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00989507
Message ID:
00990029
Vues:
26
>I've seen this used, even at framework level, but if the grid has a sufficient number >of rows, method call overhead can make grid refreshes slow. Most probably nothing to >worry about on today's machines, but just try that with debugger open... it won't >matter whether you have the coffee ready, you'll have time enough to brew some.

That's true, good point!

But for maintenance purposes and better readablity such a function is better than a complex expression. Maybe make it dependant on trace mode:
dynamicbackcolor = iif(wexist("trace"),rgb(255,255,255),colorfunctioncall(data))
Bye, Olaf.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform