P. 1
8- Oracle Fusion Middle Ware 11g Build Applications With Oracle Forms Vol 2

8- Oracle Fusion Middle Ware 11g Build Applications With Oracle Forms Vol 2

|Views: 5,694|Likes:
Published by buddykutti

More info:

Published by: buddykutti on Dec 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/24/2014

pdf

text

original

SET_APPLICATION_PROPERTY

SET_FORM_PROPERTY

SET_BLOCK_PROPERTY

SET_RELATION_PROPERTY

SET_RECORD_PROPERTY

SET_ITEM_PROPERTY

SET_ITEM_INSTANCE_PROPERTY

•SET_LOV_PROPERTY
•SET_RADIO_BUTTON_PROPERTY
•SET_MENU_ITEM_PROPERTY
•SET_CANVAS_PROPERTY
•SET_TAB_PAGE_PROPERTY
•SET_VIEW_PROPERTY
•SET_WINDOW_PROPERTY

Using SET__PROPERTYBuilt-Ins

SET_ITEM_INSTANCE_PROPERTY

The SET_ITEM_INSTANCE_PROPERTYbuilt-in modifies the specified instance of an item in
a block by changing the specified item property.

Example

The following example sets the visual attribute to VA_CURRfor the current record of the current
item:

SET_ITEM_INSTANCE_PROPERTY(:SYSTEM.cursor_item,
VISUAL_ATTRIBUTE, CURRENT_RECORD, 'va_curr');

SET_MENU_ITEM_PROPERTY

The SET_MENU_ITEM_PROPERTYbuilt-in modifies the given properties of a menu item.

Example

To enable the save menu item in a file menu, use:

SET_MENU_ITEM_PROPERTY('file.save',ENABLED,PROPERTY_TRUE);

Oracle Fusion Middleware 11g: Build Applications with Oracle Forms 22 -10

SET__PROPERTYBuilt-Ins (continued)

SET_TAB_PAGE_PROPERTY

The SET_TAB_PAGE_PROPERTYbuilt-in sets the tab page properties of the specified tab
canvas page.

Example

To enable tab_page_1, if it is already disabled, use:

DECLARE

tbpg_id TAB_PAGE;

BEGIN

tbpg_id := FIND_TAB_PAGE('tab_page_1');
IF GET_TAB_PAGE_PROPERTY(tbpg_id, enabled) = 'FALSE'
THEN

SET_TAB_PAGE_PROPERTY(tbpg_id, enabled,property_true);

END IF;

END;

Oracle Fusion Middleware 11g: Build Applications with Oracle Forms 22 -11

Copyright ©2009, Oracle. All rights reserved.

22 -11

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->