Change An Item Property Using Set_Item_Property In Oracle Forms

Set_Item_Property is used to change an object's settings at run time. Note that in some cases you can get but not set certain object properties.

The following are Syntax of Set_Item_property command:

SET_ITEM_PROPERTY
(item_id ITEM,
property NUMBER,
value VARCHAR2);

SET_ITEM_PROPERTY
(item_name VARCHAR2,
property NUMBER,
value VARCHAR2);

SET_ITEM_PROPERTY
(item_id ITEM,
property NUMBER,
x NUMBER);

SET_ITEM_PROPERTY
(item_name VARCHAR2,
property NUMBER,
x NUMBER);

SET_ITEM_PROPERTY
(item_id ITEM,
property NUMBER,
x NUMBER,
y NUMBER);

SET_ITEM_PROPERTY
(item_name VARCHAR2,
property NUMBER,
x NUMBER,
y NUMBER);

Built-in Type unrestricted procedure


Where item_id is the unique ID that Oracle Forms assigned to the object when it created it. Use the FIND_ITEM Built-in to return the ID to a variable with datatype of ITEM.

Where item_name is the name you gave the item when you created it. Datatype is VARCHAR2.
 
You can find the examples of Set_Item_Property command through the following links:
 
 

posted @ 2016-12-25 18:03  全威儒  阅读(568)  评论(0编辑  收藏  举报