Sorry, I did not point out the problem clearly:
When You click in a TComboBox and move the mouse-wheel a single tick, the selected item of the TComboBox changes to the next one in the list (ItemIndex changes by +/- 1).
When You do the same with a TsComboBox, ItemIndex changes by +/- n.
I did some further testing an found out, that n seems to depend on the number of Parents of the TsCombobox.
I modified the demo and placed several combo boxes on different parents:
TForm->TsCombobox: ItemIndex changes by 2
TForm->TsPanel->TsCombobox: ItemIndex changes by 3
TForm->TsPanel->TsGroupBox->TsCombobox: ItemIndex changes by 4
All TCombobox: ItemIndex always changes by 1
The TsComboBox of the MegaDemo behaves the same way as the TComboBoxes in my demo.
I used AC 16.17 with Dlphi XE3 Update 2 on a Windows 20H2 for testing.
Greetings,
Clemens
Attachments:
You must be
logged in to view attached files.