Hi,
Having a textbox on the form. The user fills it and I want to react to the fact that the user pressed Enter in the Textbox.
But the textbox.text property keeps empty. The entered text isn't available to process.
I tried to fire a textbox.update, but nothing helps.
In VB.net it works.
Any Idea ?
Hi Imp04,
There already is an open issue on this one which you can track here.
Try if the workaround works for you, using the TextBox.EnterKeyDown event instead.
What did you mean with the comment that "In VB.NET it works" ? Does that mean that you have different results in C# and VB.NET ?
Palli
Pali,
Thanks for investigating.
It's working.
Sorry I didn't realize about this method.
Using this method it's straithforward.
The mention about VB.net : I was meaning "classical Winforms"
Glad it worked for you and thanks for confirming.
Also thanks for clarifying the VB.net statement.