07-20-2008 10:55 AM
I have been adding new MenuItems to MainScreen objects for some time now (standard menu in the top right of the screen), but have not been able to extend the DEFAULT_MENU. MainScreen adds a DEFAULT_MENU with a single "Close" entry that appears from the bottom left when the escape key is pressed but have not been able to find an example of how to expand the list to include menu items of my own. I am using JDE 4.5.0.7. - Brian
Solved! Go to Solution.
07-20-2008 03:00 PM
07-20-2008 11:49 PM
07-21-2008 12:02 AM - edited 07-21-2008 12:06 AM
Override makeMenu(). When Screen.onMenu() is called, it creates a new Menu object then calls makeMenu() to populate it. You can even override makeMenu() in Managers and makeContextMenu() in Fields to better seperate object specific menu items.