[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: Admin <admin@xxxxxxxxxx>
- Date: Tue, 23 Sep 2025 19:41:13 +0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
23.09.2025 19:26, Gianluigi пишет:
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.Il 23/09/25 12:10, Admin ha scritto:In general, yes, this must work, but when a button also has "wait" operators, they fail, and it's not a bug, it's a feature, it is explained in a error text in a debug window.Thanks for the explanation, but I don't understand how you can get around the problem using Button.Default, without Bruce's suggestion.Regards Gianluigi
Dmitry
Re: Convenient way to parse Enter on a textbox? | Gianluigi <gradobag@xxxxxxxxxxx> |
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> |