TextBox autocomplete and Enter key

C

Clive Dixon

I have a dialog with OK button as default, i.e. pressing Enter will close
the form. I have added a TextBox to the form, with AutoCompleteMode =
SuggestAppend, with a custom datasource. If I select an item in the suggest
dropdown and press Enter, my dialog closes. How can I stop this happening?
 
C

Clive Dixon

....and ditto for the Escape key - it closes my form rather than closing the
dropdown.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top