Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and confirmation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00582298
Message ID:
00582337
Vues:
28
>Is there a way to limit this to only after row change and not column change??

Yes (Sergey was quicker, because I was eating my lunch :)), so I will just clarify. In our grid class we have property called nCurRec. In Grid AfterRowColChange we have
lparameter nColIndex
local lnCurRec
lnCurRec = recno(this.RecordSource)
if m.lnCurRec<>this.nCurRec && Row movemement
   do your code
   this.nCurRec = m.lnCurRec
endif
dodefault(nColIndex)
We haven't upgraded to VFP7 yet.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform