Controlling menu items
In this recipe, we will show how standard menu items can be controlled. We are going to disable the standard 'New' menu item in the PERMGR_DTLS block as this action cannot be performed in this block. We are also going to create a new menu item and capture the event when the user selects the item from the menu or toolbar. There are specific issues with managing standard menu items as they are controlled by standard events in the triggers. Therefore, you may try to disable a menu item only to find that upon running the form it is enabled:
- Copying the standard menu from the application server and opening it in forms
- Disabling an existing menu item
- Adding a new menu item
- Adding a trigger to capture new menu item event
- Compiling ...