Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid.ActiveRow behavior
Message
 
À
15/12/1996 14:14:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00015158
Message ID:
00016144
Vues:
48
>For a specific reason, one of our form is using the Grid.ActiveRow property to compare its value with our form property which represents the last active row of the grid.
>
>So, basically, we have this in the Grid.AfterRowColChange():
>
>IF ThisForm.Grid.PreviousRow<>ThisForm.Grid.ActiveRow
>   ...
>ENDIF
>
>
>The problem is that this is slow when having 450000 records.
>
>It seems that the grid ActiveRow is having a weird behavior which slows down the system.


I solved this with a form property filled with code in the grid.BeforeRowColChange() method, avoiding PreviousRow() altogether.

Barbara Paltiel
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform