Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and confirmation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00582298
Message ID:
00582337
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform