Cetin, I tried to dedect row change in grid beforerowcolchange using your code:
llChangingRow = .f.
with this
if mdown()
lnBottom = .top+.headerheight+ .relativerow * .rowheight
lnTop = lnBottom - this.rowheight
lnMouseRowPos = mrow(wontop(),3)
llChangingRow = !between(lnMouseRowPos,lnTop, lnBottom)
else
llChangingRow = inlist(lastkey(),24,5,18,3,145)
...
lastkey() value 5 is used to dedect down arrow. However, value 5 is returned
also when user presses Ctrl+E key.
I strongly do not wish to execute row change logic when Ctrl+E key is pressed.
In my program, ctrl+e causes beforerowcolchange event to occur.
How to avoid this?
Also, 145 code is returned only by alt+down arrow. Why this value is
included in inlist() ?
Andrus