TsUpDown

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56133
    Support
    Keymaster

      Hello and thank you for the demo.

      Look my result on the screenshot, OnClick is called after OnChanging…

      Could you show your Exe-file, please?

      #56136
      HotICE
      Participant

        Hello,

        yes event is called after onChanging, but actual value of TsUpDown is still same like onChanging.

        On Your printscreen is visible that actual value is in every events 2017,

        only in onChangingEx is another parameter NewValue and this is 2018.

        So onClick is calling before change value to new value.

        But its look that this change was make in some version of Delphi.

        My project was made in Delphi 7 , and now I change my Delphi to XE3.

        And default TUpDown have same behavior with calling events.

        Thanks Peter

        #56164
        Support
        Keymaster

          You are right. I have checked behaviour of components under different Delphi version and I see, that behaviour of TsUpDown and standard TUpDown is equal.

          And it's clear, because TsUpDown is inherited from TUpDown.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.