# First Post: Help with ImageButton

**URL:** <https://forum.juce.com/t/first-post-help-with-imagebutton/32506>\
**Category:** Getting Started\
**Created:** [March 25, 2019, 9:20pm UTC](https://forum.juce.com/t/first-post-help-with-imagebutton/32506 "2019-03-25T21:20:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [March 26, 2019, 1:30am UTC](https://forum.juce.com/t/first-post-help-with-imagebutton/32506/8 "2019-03-26T01:30:17Z")

</div>

JUCE doesn’t have a 2-pole toggle switch like those… You can check out this thread on the forum where we discussed a 3 pole toggle switch:

> [@Three Position Switch](https://forum.juce.com/t/three-position-switch/14794/6):
>
> +1 for the implementation using the Slider class. Also, you could achieve the "discrete positions" feel by setting the interval in your setRange() call, i. e. slider-\>setRange (0.0, 2.0, 1.0) will give you a slider whose values will always be 0.0, 1.0 or 2.0 no matter how dragged/clicked, and the "thumb" of the slider will be discretely positioned at the left/middle/right position as well

Rail

---

_[View the full topic](https://forum.juce.com/t/first-post-help-with-imagebutton/32506)._
