ORACLE recommends using this method to control the Item property, although the essence is to call Set_item_instance_property and Set_item_property
Alterable
App_item_property.set_property (itemid, alterable,property_on);
is equivalent to:
Set_item_instance_property (itemid, current_record,insert_allowed, property_on); Set_item_instance_property (itemid, current_record,updateable, property_on);
Set_item_property (itemid, insert_allowed, property_on);
Set_item_property (itemid, updateable, property_on);
Alterable_plus
App_item_property.set_property (itemid, alterable_plus,property_on);
is equivalent to:
Set_item_property (itemid, insert_allowed, property_on);
Set_item_property (itemid, updateable, property_on);
If the item is a currently hidden, no action is taken.
Enterable
App_item_property.set_property (itemid, enterable,property_on);
is equivalent to:
Set_item_instance_property (itemid, current_record,insert_allowed, property_on); Set_item_instance_property (itemid, current_record,updateable, property_on);
Set_item_instance_property (itemid, current_record,navigable, property_on);
Set_item_property (itemid, insert_allowed, property_on);
Set_item_property (itemid, updateable, property_on);
Set_item_property (itemid, navigable, property_on);
If the item is a currently hidden, no action is taken.
ENABLED
App_item_property.set_property (itemid, enabled,property_on);
is equivalent to (for a text item or a list item):
Set_item_property (itemid, insert_allowed, property_on);
Set_item_property (itemid, updateable, property_on);
Set_item_property (itemid, navigable, property_on);
If the item is a button and then the App_item_property. Set_property call are equivalent to:
Set_item_property (itemid, ENABLED, property_on);
If the item is not a text item, list, or button, then the App_item_property. Set_property call is equivalent to:set_item_property (itemid, ENABLED, property_on);
Set_item_property (itemid, insert_allowed, property_on);
Set_item_property (itemid, updateable, property_on);
DISPLAYED
App_item_property.set_property (itemid, displayed,property_on);
is equivalent to:
Set_item_property (itemid, DISPLAYED, property_on);
If the item is not a display item then also set:
Set_item_property (itemid, ENABLED, property_on);
Set_item_property (itemid, navigable, property_on);
If the item is neither a display item or a button then also set:
Set_item_property (itemid, queryable, property_on);
Set_item_property (itemid, insert_allowed, property_on);
Set_item_property (itemid, updateable, property_on);
REQUIRED
App_item_property.set_property (itemid, required,property_on);
is equivalent to:
Set_item_property (itemid, REQUIRED, property_on);
If the item is a currently hidden, no action is taken.
Transferred from: http://blog.itpub.net/24627116/viewspace-754486/
[Form Builder] App_item_property. Set_property usage