Creating pop-up menu items
We are going to add some entries to the default pop-up menu. This is standard in all forms and is activated by right-clicking the mouse. We are going to add three different types of pop-up menu items as follows:
- A pop-up menu item
- A pop-up menu item with a line separator
- A pop-up menu item that is disabled
To achieve this we need to perform the following tasks:
- Adding items to a pop-up menu
- Compiling the form
- Capturing pop-up menu events
Adding items to a pop-up menu
We are going to modify the pop-up menu, which is activated by a right mouse click when in the block. We therefore need to create the additional pop-up menu items in a PRE-POP-UP
trigger at block level.
How to do it...
To add a PRE-POPUP-MENU trigger, perform the ...
Get Oracle E-Business Suite R12 Core Development and Extension Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.