# Custom IControl tooltips for displaying values

**URL:** <https://iplug2.discourse.group/t/custom-icontrol-tooltips-for-displaying-values/416>\
**Category:** Windows\
**Created:** [18 June 2021 18:07 UTC](https://iplug2.discourse.group/t/custom-icontrol-tooltips-for-displaying-values/416 "2021-06-18T18:07:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snfk](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/snfk/32/140_2.png) [@snfk](https://iplug2.discourse.group/u/snfk)\
**Post date:** [18 June 2021 18:07 UTC](https://iplug2.discourse.group/t/custom-icontrol-tooltips-for-displaying-values/416/1 "2021-06-18T18:07:10Z")

</div>

I’m in need of a way to show the value of a parameter while the user is dragging the control. I want to be able to do this using a custom IControl, but I don’t know how I would remove it after a certain time has passed since the user last tweaked a control. I attach the control on `OnParamChange`. What would be the best way to do this? Thanks

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [18 June 2021 20:48 UTC](https://iplug2.discourse.group/t/custom-icontrol-tooltips-for-displaying-values/416/2 "2021-06-18T20:48:31Z")

</div>

> [@snfk](#):
>
> attach the control on `OnParamChange`

This is not a good idea. OnParamChange() can be called on the audio thread. In anycase, its best to create your controls in the “layout function” and hide/show as necessary. Are you aware of the bubble control?

Tick show bubble [here](https://iplug2.github.io/NANOVG/IPlugControls/) and move the IVKnobControl

---

<div class="post-metadata">

**Author:** ![snfk](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/snfk/32/140_2.png) [@snfk](https://iplug2.discourse.group/u/snfk)\
**Post date:** [18 June 2021 21:59 UTC](https://iplug2.discourse.group/t/custom-icontrol-tooltips-for-displaying-values/416/3 "2021-06-18T21:59:46Z")

</div>

Thanks, that’s exactly what I was looking for!
