Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Performance
Message
De
27/04/2001 08:11:07
 
 
À
27/04/2001 07:38:16
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00500041
Message ID:
00500560
Vues:
19
Renoir,

Have a look at Nick's grid highlighter class in the downloads section it's pretty quick - compare it with the one you have in your grid

Is yours doing anything fancy? multiple colours/calling a UDF to decide what colour the grid rows/bar should be etc?

I'm running a grid highlighter class on a Pentium 133 and it still looks reasonable (not as good as on a PIII800 admittedly) so unless it's trying to do something special I doubt this will be the cause of your problem.

If you really want to know what's taking the time then you could look into the coverage logging & coverage profiler - it will give you a detailed breakdown for each method and line of code telling you how long everything took to run (it's very cool)
in the load of your form just put
Set coverage to c:\fred.log
and in the unload
Set coverage to
Then back in VFP pick coverage profiler from the tools menu & it lets you see how long everything took

Will

>Barbara,
>
>The problem was exactly that; a combination of the the Refresh and highlighting logic that was built into the class. Thanks for the advice (Will and Cetin also). The client wants the highlighting, but not the delay. Any suggestions on how to have both?
>
>Renoir
Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform