Scrolling in a TsCombobox

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #70400
    Support
    Keymaster

      Thank you for the demo, I will check it.

      #70419
      Support
      Keymaster

        Hello!
        I’m watching a scrolling in standard combobox and see same behavior (several items are scrolled by one mousewheel tick) in your Exe. What is difference there?

        #70424
        remsi
        Participant

          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.
          #70439
          Support
          Keymaster

            Thank you for a project. Could you give me the Exe file also, please?
            Can’t say why, but I have another behavior of the program after compiling.
            I want to compare them.

            #70449
            remsi
            Participant

              Thank You looking into it!

              Attached are two compiled exe, one with “Debug”, one with “Release” configuration as set up in the demo.
              Not sure wich one suits Your needs.

              Greetings,
              Clemens

              #70450
              remsi
              Participant

                Here come the compiled exe as zip-archive…

                Attachments:
                You must be logged in to view attached files.
                #70457
                Support
                Keymaster

                  Thank you, I see it now and I hope to fix it in the nearest release.

                  #70511
                  remsi
                  Participant

                    Thank You for fixing it in 16.19!

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘Scrolling in a TsCombobox’ is closed to new replies.