Event TComboBox.OnEditingDone is fired wrongly when clicking on TabSheets
Original Reporter info from Mantis: Hartmut @Hartmut2
-
Reporter name:
Original Reporter info from Mantis: Hartmut @Hartmut2
- Reporter name:
Description:
You have a ComboBox and a TPageControl with 2 TabSheets and 1 Button on each. When clicking on the TabSheets and the Buttons the focus wrongly is passed to the ComboBox. Clicking the next Button will remove the focus from the ComboBox and the TComboBox.OnEditingDone event is fired, although the ComboBox has never been clicked.
As wp found out, this bug only occurs, if ComboBox.TabOrder=0.
This bug occurs on Windows 7, but not on Linux with Gtk2.
Steps to reproduce:
a) compile and start the attached project Error1.zip on Windows
b) click on TabSheet2
c) click on Button 2
d) click on TabSheet1 (result: ComboBox1 receives the focus wrongly)
e) click on Button 1
Result: event TComboBox.OnEditingDone is fired, although this component was NOT "edited".
Mantis conversion info:
- Mantis ID: 33991
- OS: Windows
- OS Build: Windows 7 32 bit
- Platform: i386
- Version: 1.8.4
- Fixed in revision: 59186 (#8d0fe522)