OnExit event executes inappropriately
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
Please refer to Lazarus bug report #697 (closed). That bug report described problems with the event comboboxes in the object inspect being set incorrectly on a double click.
After further analysis it was discovered that the OnExit event for the combobox is triggered incorrectly. In the case of the object inspector combobox problem, it appeared the OnExit event is inappropriately triggered shortly after the OnDoubleClick even resulting in the combobox being set incorrectly.
The problem with OnExit appeared to occur with many other components as well such as TEdit.
Here are the steps to reproduce the problem:
- Create a blank application
- Add a TCombobox to the form. (Substitute TEdit here if you wish)
- Set OnExit event to ShowMessage('Exit');
- Set OnDblClick event to ShowMessage('Double click');
- Run application. Note that OnExit event fires when form is created inappropriately.
- Double click on combobox. Note again that OnExit fires inappropriately.
Additional information:
Imported information
--------------------
Name: Bob Marietta
Mail: igdsoftware (at) yahoo.com
Mantis conversion info:
- Mantis ID: 722
- Fixed in version: 0.9.9 (SVN)
- Target version: 0.9.10