11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Menu Item Type property<br />

Description<br />

Specifies the type of menu item: Plain, Check, Magic, Radio, or Separator. The type determines how the<br />

item is displayed and whether the item can have an associated command.<br />

Applies to:<br />

menu items<br />

Set <strong>Form</strong> <strong>Builder</strong><br />

Default<br />

Plain<br />

Usage Notes<br />

The following menu item types are available:<br />

• PlaiDefault. Standard text menu item.<br />

Check Indicates a Boolean menu item that is either Yes or No, checked or<br />

unchecked.<br />

Whenever the end user selects a Check menu item <strong>Form</strong> <strong>Builder</strong> toggles the<br />

state of that item and executes the command associated with that menu item,<br />

if there is one.<br />

Magic Indicates one of the the following predefined menu items: Cut, Copy,<br />

Paste, Clear, Undo, About, Help, Quit, and Window. Magic menu items<br />

are automatically displayed in the native style of the platform on which the<br />

form is executed, in the position determined by the platform’s conventions,<br />

with the appropriate accelerator key assigned. Cut, Copy, Paste, Clear,<br />

Windows, and Quit have built-in functionality supplied by <strong>Form</strong> <strong>Builder</strong>,<br />

while the other magic menu items require that commands be associated<br />

with them.<br />

Radio Indicates a BOOLEAN menu item that is part of a radio group. Enter a<br />

radio group name in the Radio Group property field. One and only one<br />

Radio menu item in a group is selected at any given time.<br />

When the end user selects a Radio menu item, <strong>Form</strong> <strong>Builder</strong> toggles the<br />

selection state of the item and executes its command, if there is one.<br />

Separator A line or other cosmetic item. You specify a Separator menu item for the<br />

purpose of separating other menu items on the menu. A Separator menu<br />

item cannot be selected and therefore it cannot have a command associated<br />

with it.<br />

• You can use GET_MENU_ITEM_PROPERTY and SET_MENU_ITEM_PROPERTY to get and<br />

set the state of check and radio menu items.<br />

• Magic menu items Cut, Copy, Clear, and Paste are automatically enabled and disabled by <strong>Form</strong><br />

113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!