>I'm using VFP 5.0.
>But the last code that you pass to me will don't work because I need to know
>the new line of the grid before it is active. I wan't to know this value in
>the event 'beforerowcolchange.' The property relativerow will change only after the event 'afterrowcolchange' trigers. Then the property relativerow will have the same value of the property 'relrow' (in the event beforerowcolchange) added to grid in the init event. Thanks anyway.
Hi Gustavo,
I'm confused a little.
1) Do you want to know new recno() before ARCC fires ?
Then when event of column.control fire before ARCC.
2) Do you want to know new activerow before ARCC fires ?
Then you need to check lastkey(), mdown() in BRCC and do some math to calculate where you're going. In BRCC activerow and relativerow would have valid values (not 0) and they're sequential (with interestingly true for visible part - ie: if activerow is not in visible portion then 0).
3) Do you want to know if you're leaving a row ?
Near same and relatively easier then previous in BRCC (you don't need to calculate new target).
Cetin