how to reset a thumb dragdelta RRS feed

  • Question

  • Hello

    Is it possible to reset the dragdelta value of a thumb control?

    Mi problem is that I have a thumb that should allow a control to be resized.

    The problem is that this thumb does not move so because this when i use the dragdelta the value get biger and bigger.

    I do not see this problem if I allow the thumb to move. But I have to force the thumb to stay fixed.
    Monday, December 14, 2009 7:58 AM


  • Hello marck68,

      HorizontalChange and VerticalChange are read-only property.
      Based on my understanding, We can store the previous value of HorizontalChange and VerticalChange in the last dragdelta event.

      From this value, we can get the increment value for the current dragdelta event.

      Good luck.
    Wednesday, December 16, 2009 7:01 AM