In line 318 method KeyChar
- Code: Select all Expand view
if nNewAt != nOldAt .and. nNewAT != 0 // If found and changed
...
ELSE
::cSearchKey := left(::cSearchKey,Len(::cSearchKey)-1)
ENDIF
Why must be diferent nNewat and nOldAt?
For example my items are the USA states
ARIZONA
ARKAKANSAS
...
I type "A" and Keychar find it in element 1, then type "R", so I'm searching "AR", found but still on the same position(so cSearchKey will be cut in one position and again will be "A"), i type "K" and KeyChar will serach "AK" instead of "ARK".
I know how to solve just changing the if on line 381, but will have any collateral efect?.