Components of the Menu Module
What is a Menu Module?
A
menu module is a hierarchically-structured object that provides
a quick and easy method for operating your Forms application. Like the
form module, the menu module is one of the main components of an application.
Each menu module displays as a pull-down menu. A
pull-down menu
comprises a set of options, displayed horizontally under the application
window title. Each option can represent a submenu or an action. Selecting
a submenu displays a vertical list; selecting an action executes the action.
Menu Module Components
Components of the Menu Module
What is a Menu?
A
menu is a list of related options. Each option performs a different
action. You can create three menu types in Forms:
Previous
| Page 2 of 3 |
Next
A
menu is a list of related options. Each option performs a different
action. You can create three menu types in Forms:
-Displays horizontally in the menu bar
- Contains options (menu items) that are typically individual
menus
|
|
The Default Menu
What is the Default Menu?
The Default Menu is not a separate menu module, but is built into every
form module. The Default Menu includes standard commands for editing,
navigating, and database interaction, such as Action-->Save.
When you build a form module, it automatically uses the Default Menu.
The Default Menu is internal to Oracle Forms Developer. However you can
replace the Default menu with a custom menu. A custom menu is stored in
a separate module that has a suffix of
.mmb.
A custom menu that is exactly the same as the Default Menu,
menudef.mmb
ships with Oracle Forms Developer.
Note: Menudef.mmb and menudefs.mmb were omitted from the 9.0.3
release of Forms, but upgraded versions of these files will be included
in the 9.0.4 release.
Examining the Default Menu
You can look at the structure of the Default Menu by opening the file
called
menudef.mmb. This
file contains a menu module with an identical structure to that of the
Default Menu. Once you have opened the
menudef.mmb
module, you can see its objects in the Object Navigator.
You can see that the menu module consists of a main menu (starting point),
menus and menu items.
The Menu Editor
What is the Menu Editor?
The Menu Editor is a graphical design facility for laying out, modifying
and viewing menu modules and their objects. You use the Menu Editor to
carry out all your menu design work.
Two Ways to Display the Menu Editor
|
Double-click the icon to the left of the menu module
entry in the Object Navigator. |
|
Select Tools-->Menu Editor. |
No comments:
Post a Comment