Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Performance
Message
From
27/04/2001 08:11:07
 
 
To
27/04/2001 07:38:16
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00500041
Message ID:
00500560
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform