Hi!
In the KeyPress event add space manually to text in textbox and change SelStart (to enter next character), then use nodefault to cancel default behaviour of space.
>I'm using an incremental search in a combo box. The key field contains characters and spaces. If the user presses the SPACE BAR intending to enter a space Foxpro interepets it as a selection rather than the intended space.
>
>Any suggestions how to permit using the space bar to enter a space rather than use it to make a selection???
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.