Un-highlighting menu

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

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.

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

Thanks, Tim. Always looking for the shortcuts. :slight_smile: