How to change menuitem back color


I don’t use ConstructContextualMenu event as I want users to just use mouse left-click OR mouse-up for checking the menus.
No problem to construct menu items through menuitem.

I want to change the color of the selected item when user mouse-up the item.
Can you let me know how I can do that?

On Mac or Windows?
I’m pretty sure it can’t be done on Mac.


When the user mouse-up the item won’t it be gone?