# Un-highlighting menu

**URL:** <https://forum.xojo.com/t/un-highlighting-menu/41978>\
**Category:** General\
**Created:** [February 7, 2018, 8:43pm UTC](https://forum.xojo.com/t/un-highlighting-menu/41978 "2018-02-07T20:43:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roger\_Clary](https://forum.xojo.com/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@Roger\_Clary](https://forum.xojo.com/u/Roger_Clary)\
**Post date:** [February 7, 2018, 8:43pm UTC](https://forum.xojo.com/t/un-highlighting-menu/41978/1 "2018-02-07T20:43:59Z")

</div>

When I use a FileMenu item from Window A to show modal Window B, the File Menu stays highlighted until window B is closed. The only way I can think of to work around this is to have the Menu item call a timer which actually shows the modal window. Is there an easier way to un-highlight that menu while Win B is open?  
TIA

---

<div class="post-metadata">

**Author:** ![Tim\_Parnell](https://forum.xojo.com/user_avatar/forum.xojo.com/tim_parnell/32/161_2.png) [@Tim\_Parnell](https://forum.xojo.com/u/Tim_Parnell)\
**Post date:** [February 7, 2018, 8:50pm UTC](https://forum.xojo.com/t/un-highlighting-menu/41978/2 "2018-02-07T20:50:20Z")

</div>

Nope, use a timer. ShowModal stops all other execution, including the interface update to finish the menu select animation. Luckily, there’s a super easy shortcut for timers now.

```auto
Xojo.Core.Timer.CallLater(0, {Weak}AddressOf MyShowModalMethod)
```

---

<div class="post-metadata">

**Author:** ![Roger\_Clary](https://forum.xojo.com/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@Roger\_Clary](https://forum.xojo.com/u/Roger_Clary)\
**Post date:** [February 7, 2018, 8:52pm UTC](https://forum.xojo.com/t/un-highlighting-menu/41978/3 "2018-02-07T20:52:16Z")

</div>

Thanks, Tim. Always looking for the shortcuts. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 7:05pm UTC](https://forum.xojo.com/t/un-highlighting-menu/41978/4 "2020-10-29T19:05:54Z")

</div>


