I have a TwebComboBox. When I select an item from the drop down, the item is displayed in the edit area. When I want to clear the selection and press DEL all(!) items are deleted and I the drop down is empty.
I can only suspect this must be with style csDropdown, but with the latest version, I cannot reproduce this issue. I select 'c', then delete 'c' from the edit part and then all items reappear in the dropdown.
Project1.zip (5.3 KB)
Ah, this is the problem:
if Key = VK_Delete then
cmbLebensmittelgruppe.Clear;
This clears the items, too.
Is this WAD or will this behaviour change?
WAD
Same behavior as VCL TComboBox