Hi
I should have added, so I have also added in a simple example project to show the issue ( created with latest SVN).
i use the onpopuop event to enable disable hide controls that are non appropriate depending on what has been set in other parts of the program, as the onpopup is not called when a shortcut is used, it is possible to activate shortcuts that would not be available if you were to use the mouse to activate the menu.
In the example project, if you right click in memo1, the option Explode is available, and triggers from menu or shortcut, if you move into memo 2 and press ctrl-e the it is still triggered, if you bring up menu in memo 2, then the ctrl-e is not enabled and also will not trigger if pressed within memo2.
I suppose a quick fix would be to calll a derivative of the onpopup event; when ever I enter any component that has a popupmenu so as to set available options and also fire a similar routine when ever any text is manipulated or highlighted so as to display/set the relevant options on the menu; which then makes the shortcuts fire correctly.
Josh