[Form Builder] App_item_property. Set_property usage

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.