Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for row change in grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00542790
Message ID:
00542799
Vues:
25
>I want to test for a user moving from one record (row) to another in a grid. I can figure out how to do this. Any help would be appreciated.

Add new property nRecno to your grid base class and the following code to the grid AfterRowColChange event
* AfterRowColChange event
IF Recno(This.RecordSource) <> This.nRecNo   && Row changed
   This.nRecNo = Recno(This.RecordSource) 
   * Some code  
ENDIF
Don't forget to initialize nRecno property in the Init of the grid.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform