TDBLookupComboBox after selecting an item from the drop-down list, Enter key is also passed to the form
Original Reporter info from Mantis: tema
-
Reporter name: Artem Proskurnev
Original Reporter info from Mantis: tema
- Reporter name: Artem Proskurnev
Description:
In TDBLookupComboBox
If you do not use the mouse, and press Alt+Down to select the desired item and press Enter, then is to not only selects an item from the list, and you click the default button on the form.
Steps to reproduce:
Connect to MySQL/MariaDB database.
table.sql - create tables
published.tar.gz - example
- On TDBLookupComboBox press Alt+Down.
- Select an item using up and down arrows
- Press Enter
- The modal form closes
Mantis conversion info:
- Mantis ID: 31574
- OS: Linux
- Build: Lazarus trunc 2017-03-20
- Platform: x64
- Fixed in revision: 54710 (#5893d28a)
- Monitored by: » tema (Artem Proskurnev)