SET_MENU_ITEM_PROPERTY
(menuitem_id MenuItem,
property NUMBER,
value NUMBER);
SET_MENU_ITEM_PROPERTY
(menu_name.menuitem_name VARCHAR2,
property NUMBER,
value NUMBER);
Built-in Type unrestricted procedure
Enter Query Mode yes
Parameters
menuitem_idSpecifies the unique ID Form Builder assigns when it creates the menu item. Use the FIND_MENU_ITEM built-in to return the ID to an appropriately typed variable. The data type of the ID is MenuItem.
menu_name.menuitem_nameSpecifies the VARCHAR2 name you gave to the menu item when you defined it. If you specify the menu item by name, include the qualifying menu name, as shown in the syntax.
propertySpecify one of the following constants to set information about the menu item:
CHECKED Specifies the Checked property, which indicates if a check box menu item or a radio menu item is in the checked state or unchecked state.
ENABLED Specifies whether the menu item is enabled (thus active) or disabled (thus greyed out and unavailable to the operator).
ICON_NAME Specifies the file name of the icon resource associated with a menu item having the Icon in Menu property set to TRUE.
LABEL Specifies the character string for the menu item label.
VISIBLE Specifies whether the menu item is visibly displayed.
valueSpecify one of the following constants:
PROPERTY_TRUE Specifies that the property is to be set to the TRUE state.
PROPERTY_FALSE Specifies that the property is to be set to the FALSE state.