# ImageButton Questions

**URL:** <https://forum.juce.com/t/imagebutton-questions/9243>\
**Category:** General JUCE discussion\
**Created:** [September 15, 2012, 2:15pm UTC](https://forum.juce.com/t/imagebutton-questions/9243 "2012-09-15T14:15:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raketa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/raketa/32/1725_2.png) [@raketa](https://forum.juce.com/u/raketa)\
**Post date:** [September 15, 2012, 2:15pm UTC](https://forum.juce.com/t/imagebutton-questions/9243/1 "2012-09-15T14:15:16Z")

</div>

Hi,

1. looks like there is no way to display a Mouse-over image when the ImageButton is “Down”. Is that correct, or am I missing something?

2. (Thats probably Button related:) When switching “DOWN” the button seems to switch the Image immediately, while when switching “UP” it toggles after void clicked() - or probably only because the ToggleState is set during clicked().  
I am asking since in my Application the buttons switch hardware states which takes some milliseconds. So its noticeable different timing between DOWN and UP. I would like my inherited button to be responsible to set the ToggleState (not any magic), so my button can change its state only after the hardware has reacted. This gives a feedback in both ways to the user.

3. I am not sure why there is no public copy constructor (and no public = operator as well). My application would hold its dynamically created buttons in a std::deque or similar; currently it only can do so by using a dynamically allocated button.

Thanks!

---

<div class="post-metadata">

**Author:** ![raketa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/raketa/32/1725_2.png) [@raketa](https://forum.juce.com/u/raketa)\
**Post date:** [September 15, 2012, 2:17pm UTC](https://forum.juce.com/t/imagebutton-questions/9243/2 "2012-09-15T14:17:36Z")

</div>

ups! sorry wasn’t my intention to create two ImageButton Questions threads… Please remove one.  
(one should not hit Preview and Submit shortly in a row…)
