A script-enabled browser is required for this page to function properly.

Assigning Commands to Menu Items

To assign a command to a menu item:

  1. In the Object Navigator or Menu Editor, select the menu item.
  2. Choose Tools | Property Palette.
  3. In the Property Palette, under the Functional node, set the Menu Item Type and Command Type properties.
  4. Double-click the Command Text property field.
  5. In the PL/SQL Editor, type the code to define the menu item's command
  6. Click Compile, then click Close.

Assigning commands to menu items: examples

/* Create a menu item that displays a message to the
** end user:
**
** Create a menu item (on any menu) and give it a name of
** DISP_MSG and a label "Display Message". In the Property
** Palette, verify that the item's Menu Item Type property
** is set to Plain, and its Command Type property is set to
** PL/SQL. Double-click the Command Text property field to
** display the PL/SQL Editor. Enter the following:*/



Command Text property

Menu Item Type property