# Is there a simple draggable value entry Component somewhere?

**URL:** <https://forum.juce.com/t/is-there-a-simple-draggable-value-entry-component-somewhere/35626>\
**Category:** General JUCE discussion\
**Created:** [October 10, 2019, 9:38pm UTC](https://forum.juce.com/t/is-there-a-simple-draggable-value-entry-component-somewhere/35626 "2019-10-10T21:38:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![setswon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/setswon/32/21655_2.png) [@setswon](https://forum.juce.com/u/setswon)\
**Post date:** [April 5, 2020, 8:39am UTC](https://forum.juce.com/t/is-there-a-simple-draggable-value-entry-component-somewhere/35626/3 "2020-04-05T08:39:37Z")

</div>

My approach:

> [@Click & drag on Label](https://forum.juce.com/t/click-drag-on-label/15526/6):
>
> Hello guys. I know this post is an old one but thinking it might be helpful to someone, I share my solution (which is an optimization of what @JimmyFF suggested). I preferred to incorporate the mechanism in a customLabel class: void mouseDrag(const MouseEvent& e) override { double changeVal = 0.0; float sensitivity = 1.f; int newMouseDown; if (e.getMouseDownY()==mMouseDownPosY) { newMo…

---

_[View the full topic](https://forum.juce.com/t/is-there-a-simple-draggable-value-entry-component-somewhere/35626)._
