Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help needed with grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00237019
Message ID:
00237115
Vues:
13
>Hello all,
>
>First let me tell you that I work with VFP3.
>
>I know about the BeforeRowColChange event in a grid.
>
>I would like to know how to execute code only when the user change for another line in the grid not another column. How can I do this?

Denis,
You'll need a form property (nOldRow) to store the active record #. Then in the AfterRowColChange() code put:
if recno('mytable') = thisform.nOldRow
   ** Do your row change stuff here
   thisform.nOldRow = recno()
endif
HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform