Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row Change in a Grid
Message
De
27/10/1998 15:50:55
 
 
À
27/10/1998 15:42:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00151245
Message ID:
00151247
Vues:
16
>What is the easiest / surest way to detect when a user has changed rows in a grid? I want to update on-screen totals in case one of the underlying detail records has changed. This would be equivalent to the old FoxPro BROWSE VALID MyUDF clause. I have been looking at the Before and AfterRowColChange events and at the ActiveRow property of the grid.
>
>Thanks in advance,
>Don Smith, Indiana University

***Grid.BeforeRowColumnChange event
Thisform.GridRecNo=recno("curGrid") && 'curgrid' is grid.recordsource
***Grid.AfterRowColumnChange event
IF Thisform.GridRecNo!=recno("curGrid")
=messagebox("Row Really Changed")
Thisform.GridRecno=recno("curGrid")
ENDIF
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform