ComboBox.Sorted empty list with uses windows,Registry
Original Reporter info from Mantis: lu-dzik
-
Reporter name:
Original Reporter info from Mantis: lu-dzik
- Reporter name:
Description:
I have buggy behaviour in certain circumstates in TComboBox.OnDropDown. Debugger is breaking execution with exception. Digging into call stack is indicating 0x00000000 function call some sys function calls and break in ImageList_Duplicate. No Image list in project! Try reproduce is straight forward.
Steps to reproduce:
- Create new application
- Drop ComboBox on form.
- Create OnDropDown event. in event set "ComboBox1.Sorted:=true"
- unit1 implementation -> uses Windows,Registry; (without this bug is not showing)
- Run application
- Drop down list to know what i mean.
Additional information:
If ComboBox.items have 2 or more items then everything is in order. It seems like sorting together with uses Windows,Registry is triggering bug.
Mantis conversion info:
- Mantis ID: 25864
- OS: Windows
- OS Build: XP SP3
- Build: 1.0.14 & 1.2
- Platform: x86