APP_ITEM_PROPERTY: Property Utilities

These utilities help you control the Oracle Forms and Oracle E-Business Suite properties of your items.

APP_ITEM_PROPERTY.GET_PROPERTY

Summary
function  APP_ITEM_PROPERTY.GET_PROPERTY(
       item_name varchar2, 
			property number) 
			return number;
function  APP_ITEM_PROPERTY.GET_PROPERTY(
			item_id item, 
			property number)
			 return number;
Description This function returns the current setting of an item property. It differs from the Oracle Forms's get_item_property in that it returns PROPERTY_ON or PROPERTY_OFF instead of TRUE or FALSE.

Arguments (input)

item_name Name of the item to apply the property attribute to. Specify both the block and item name. You can supply the item_ID instead of the name of the item.
property The property to set.

See: Setting Item Properties.

APP_ITEM_PROPERTY.SET_PROPERTY

Summary
procedure  APP_ITEM_PROPERTY.SET_PROPERTY(
       item_name varchar2, 
			property varchar2, 
			value number);
procedure  APP_ITEM_PROPERTY.SET_PROPERTY(
			item_id item, 
			property varchar2,
			value number);
Description This procedure sets the property of an item. You should never use the Oracle Forms built-in SET_ITEM_PROPERTY to set the field properties DISPLAYED, ENABLED, ENTERABLE, ALTERABLE, INSERT_ ALLOWED, UPDATEABLE, NAVIGABLE, REQUIRED, and ICON_NAME directly. Use APP_ITEM_PROPERTY.SET_PROPERTY instead.
APP_ITEM_PROPERTY.SET_PROPERTY remaps some properties to do other things like change visual attributes. Also, there are some properties that APP_ITEM_PROPERTY provides that native Oracle Forms does not.

Arguments (input)

item_name Name of the item to apply the property attribute to. Specify both the block and item name. You can supply the item_ID instead of the name of the item.
property The property to set.
value Either PROPERTY_ON or PROPERTY_OFF, or an icon name (to change the icon property).

See: Setting Item Properties

APP_ITEM_PROPERTY.SET_VISUAL_ATTRIBUTE

Summary
procedure  APP_ITEM_PROPERTY.SET_VISUAL_ATTRIBUTE(
item_name varchar2, 
			property number 
			value number);

Description This procedure is no longer used. All colors are set as part of the Oracle Look and Feel (OLAF).