Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Declare Property

user7248485May 23 2011 — edited May 23 2011
i have Procedure that get Value from List to Change Font Style and Font Weight ,
the problem that the Property for this not Character .

For example :

SET_ITEM_PROPERTY('ITEM_NAME',FONT_STYLE,'FONT_ITALIC'); => is Wrong

SET_ITEM_PROPERTY('ITEM_NAME',FONT_STYLE,FONT_ITALIC); => is Correct

Help:

How i can declare Property to Get Value from List and Replace it with the specific Property .

For example :

Declare
V_FONT_STYLE PROPERTY;
BEGIN
IF :LIST = 'FONT_ITALIC' THEN
V_FONT_STYLE := FONT_ITALIC;
END IF;
SET_ITEM_PROPERTY('ITEM_NAME',FONT_STYLE,V_FONT_STYLE);
END;
This post has been answered by Charon on May 23 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2011
Added on May 23 2011
1 comment
150 views