This feature is great and saves me a lot of work.

But there are two errors in there:
1. If the mouse wheel is used, "nWantSkip" in "DC_SkipArray" may lead to a value higher than the array length or lower than one. This causes "DC_SkipArray" to either postion the array pointer to the lenght of the array or to 1 (one). But both array values may not fetch the filter condition! So:
In "DC_SkipArray", behind "IF nPointer > Len(oBrowse:dataSource)" (about line 2920 in _DCXBROW.PRG) and behind "IF nPointer < 1" it should be:
a)
b)nPointer := Len(oBrowse:dataSource) // already in there, new:
DO WHILE !Eval(oBrowse:filter,oBrowse:dataSource[nPointer])
nPointer --
ENDDO
same at "IF nPointer < 1":
Code: Select all
nPointer := 1 // already in there, new:
DO WHILE !Eval(oBrowse:filter,oBrowse:dataSource[nPointer])
nPointer ++
ENDDO