Using combobox.items.addstrings does not update combobox dropdown list
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
See attached demo program. Using items.addstrings to add string items to the combobox items leads to the items being added, but the dropdown list is kept at 1 line, instead of the number of lines set in properties.
Attached patch solves this for Win32; don't know if other widgetsets need comparable fixes.
Thanks to engkin on the forum who figured this out:
http://forum.lazarus.freepascal.org/index.php/topic,23289.msg138831.html#msg138831
Mantis conversion info:
- Mantis ID: 25556
- OS: Windows
- OS Build: Windows 7
- Build: 43770
- Platform: x64 (with x86 compiler)
- Version: 1.3 (SVN)
- Fixed in revision: r43771 (#85d08177)