Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting row change
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00063650
Message ID:
00064479
Vues:
42
Mark,

>I too have created a subclassed grid with this feature. Just curious -- do you compare the Before and After ActiveGridRow property value or the RecNo() of the Grid's record source? The more records the source has the slower the grid performs using ActiveGridRow. So, I changed to storing RecNo() in Before and compare to RecNo() After. Works much faster.

Actually looking back at the code, it doesn't actually worry about it, all I do is move the highlighting shape to the new RelativeRow position, which isn't the exact same thing you are trying to accomplish. I have seen that ActiveRow performance really sucks on large tables and I think most folks use recno().
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