Yaron 60 Posted Thursday at 12:15 PM The standard Delphi TComboBox is based on WinAPI. Every item you add to the list triggers a WinAPI "SendMessage" call, which takes much (x100) longer than adding an item to a TStringList. To overcome this delay, with the help of AI, I designed a slimmed down replica of TComboBox based on TStringList: https://github.com/bLightZP/ZPComboBox If you have a form with lots of TComboBox drop down list components and it's not opening fast enough for you, try this. Limitations The only event supported is OnChange. The only style supported is csDropDownList. The pop-up listbox is shown in a pop-up window, so the underlying window's title bar changes color when losing focus. The styling is close to TComboBox, but not identical. 2 1 Share this post Link to post
ThomasRiedelDk 0 Posted Thursday at 12:28 PM Sounds good! Can you even make a version where you can locate an Item by typing, like csDropDown, but it must be an item from the list? Share this post Link to post
limelect 51 Posted Sunday at 10:04 AM @ThomasRiedelDk It has BetterComboBox.Text:='abc'; this is a find in the list As for that, I made an issue on GitHub Share this post Link to post