[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Convenient way to parse Enter on a textbox?
[Thread Prev] | [Thread Next]
- Subject: Re: Convenient way to parse Enter on a textbox?
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Tue, 23 Sep 2025 14:48:53 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 23/09/25 14:41, Admin ha scritto:
Hmm, well, the code is already in production, all I did was setting SendButton.Default to true, and now when the focus is on a textbox which i fill with the request, Enter key just presses SendButton, no Keypress event handler on any form element whatsoever. I couldn't be happier with the simplicity of this solution.
It really couldn't be simpler!Thanks to Benoit for doing it, thanks to Lee for sharing it, and thanks to you for explaining it to me :-)
Convenient way to parse Enter on a textbox? | Admin <admin@xxxxxxxxxx> |
Re: Convenient way to parse Enter on a textbox? | Gianluigi <gradobag@xxxxxxxxxxx> |
Re: Convenient way to parse Enter on a textbox? | Admin <admin@xxxxxxxxxx> |
Re: Convenient way to parse Enter on a textbox? | Gianluigi <gradobag@xxxxxxxxxxx> |
Re: Convenient way to parse Enter on a textbox? | Admin <admin@xxxxxxxxxx> |