Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hourglasses when clicking on the Header
Message
 
 
À
04/02/2005 13:13:01
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 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00981532
Message ID:
00983959
Vues:
68
>My favourite candidate to look for when a grid is slow are the dynamic properties. If any of them is a method or function call, just try to make it a simple expression or comment out the code where you set it. I've seen incredible differences in speed when I replaced a method call which returned a rgb() for a dynamic backcolor with a field which contained that rgb value filled in advance. Keep in mind that for each refresh, each dynamic property gets evaluated for each visible cell.

I think your suggestion doesn't apply here. The hourglass I'm referring to appears when I click on the Header of the column. I do not use any dynamic properties for the grid at all (though I didn't check the parent class code closely). The cGrid grid behaves normally, while my grdSorting produces that weird behavior. I posted all the code in the begining of the thread. I made a small change to use a reference to last clicked header rather than clearing pictures in all headers. It didn't make a difference, may be even worsen the situation.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform