>>Hello
>>
>>I am implementing incremental search in a Grid's textbox, the textbox is read only and the textbox's keypressed event handles the search.
>>When I trap the keys strokes, I issue a NODEFAULT and RETURN commands, but still keep receiving the message "The control is read-only" in the status bar or "wait window"
>>
>>How can avoid this message?
>>
>>Thanks,
>>
>>Juan
>
>Make it readwrite.
>Cetin
LMAO!
In all seriousness though, Cetin has a point. Why is the textbox readonly? Why not just set the column to readonly?
If the textbox is a search subclass that you are using elsewhere then make a subclass of it for your grids so you can set readonly = .F.