ContextMenus disabling

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

ContextMenus disabling

Post by djrikki »

Hi,

Is it currently possible to disable a Contextmenu?

In particular I want to disable a Contextmenu if a Listview has no .Entries in it.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ContextMenus disabling

Post by airsoftsoftwair »

No, it's currently not possible, but I can add this to MUI Royale if needed.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: ContextMenus disabling

Post by djrikki »

Hi, just looking back on old threads. Yea this would be cool to have.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ContextMenus disabling

Post by airsoftsoftwair »

Seems like I already implemented this some months ago:

Code: Select all

- New: Area.ContextMenu can be used with mui.Set() now to change the context menu of a MUI
  object; to remove the context menu from an object completely, pass the special constant
  "(none)" in mui.Set() (requested by Richard Lake)
Post Reply