Press "Enter" to skip to content

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:

Have you found the answer to your question? If not, you can discuss it with me in the comments section below or join my Q&A community OrclQA.com for developers and ask your question. It is FREE.

Vinish Kapoor

Follow

Hi, I am a full stack developer and writing about development. I document everything I learn and help thousands of people. foxinfotech.in is created, written, and maintained by me; it is built on WordPress, and hosted by Bluehost. Connect with me on Facebook, Twitter, GitHub, and get notifications for new posts.

guest
0 Comments
Inline Feedbacks
View all comments