Autocomplete drawbacks

U

Uwe Braunholz

Hello,

I expreienced some drawbacks of the build-in Autocomplete support
in .NET 2.0.

1st: If I catch KeyPress event on a textbox, connected to an
Autocomplete source the returnkey (13) is not catched.
2nd: If I use a customsource with texts containing a / the
Autocomplete stops at this / as if it would be an URL.

Does anybody know how I could overcome this problems?

I really hope for some help!

Thank you!

Uwe
 
A

Alexander Vasilevsky

Please try

private void textBox1_KeyPress(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
e.Handled = false;
}


http://www.alvas.net - Audio tools for C# and VB.Net developers
 

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