TCustomEdit doesn't trigger OnEditingDone or OnExit when a form is closed by Default button is response to a 'Return' keypress
Original Reporter info from Mantis: etrusco
-
Reporter name: Flávio Etrusco
Description:
- Place a TEdit or TIEdit control in the form;
- Implement OnEditingDone and OnExit handlers in the edit (e.g. ShowMessage or log);
- Place a TButton or TButtonPanel in the form;
- Configure a default button and either set it's ModalResult or implement an OnClick handler to close the form;
- Run the app. Type some text in the edit then press Return.
Result: the events aren't triggered.
Mantis conversion info:
-
Mantis ID: 20057
-
Version: 0.9.31 (SVN)
-
Fixed in revision: r46427 (#b55a4754)
-
Target version: 1.4