# DrawableButton without blue highlighting?

**URL:** <https://forum.juce.com/t/drawablebutton-without-blue-highlighting/15923>\
**Category:** General JUCE discussion\
**Created:** [November 11, 2015, 12:36am UTC](https://forum.juce.com/t/drawablebutton-without-blue-highlighting/15923 "2015-11-11T00:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [November 11, 2015, 12:36am UTC](https://forum.juce.com/t/drawablebutton-without-blue-highlighting/15923/1 "2015-11-11T00:36:46Z")

</div>

I have a DrawableButton that uses two images for display and I have&nbsp;setClickingTogglesState(true).

How do I get rid of that light blue highlighting? It's not there when&nbsp;setClickingTogglesState (false). Obviously it's trying to show when it's on, but my images do that just fine and I don't need the default highlighting or background or whatever it is.

Thanks.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Jordan\_Harris](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jordan\_Harris](https://forum.juce.com/u/Jordan_Harris)\
**Post date:** [November 11, 2015, 5:58am UTC](https://forum.juce.com/t/drawablebutton-without-blue-highlighting/15923/2 "2015-11-11T05:58:08Z")

</div>

From reading the documentation, I would think that you could just use setColour() using&nbsp;TextButton::buttonOnColourId and make the color completely transparent (I think with an alpha of 0).

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [November 11, 2015, 7:59am UTC](https://forum.juce.com/t/drawablebutton-without-blue-highlighting/15923/3 "2015-11-11T07:59:53Z")

</div>

interested to know if that works - I'd like to be able to get rid of all the focus boxes too...

---

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [November 11, 2015, 9:38pm UTC](https://forum.juce.com/t/drawablebutton-without-blue-highlighting/15923/4 "2015-11-11T21:38:40Z")

</div>

Thanks for the reply.

I stumbled upon another solution: I just added an empty paint() function that worked.

Hope that helps you.
