Thanks anyway, I would have expected the code to work for the Listview as it would for the listbox (other than the parm name). In the listbox I have the IncrementalSearch property, with the Listview I cannot find anything to do the same thing.
>Sorry Patric,
>I must read more carefully the Header & contains of message :o(( But I know that is my defect. I read List & added Box. Sorry again.
>
>
>>The NODEFAULT does not appear to have any effect on the Listview. Is it not possible to overide the default behavior for an ActiveX control?
>>
>>
>>>>I am using the Listview control and would like to stop the movement/search when a key is pressed. For example if the control has focus and I type in the letter "E" it move to items with starting with the letter E. Any ideas?
>>>
>>>
>>>In KeyPress Event of the listbox:
>>>
>>>IF BETWEEN(nKeyCode, 65, 122)
>>> NODEFAULT
>>> RETURN
>>>ENDIF
>>>