Creating an Interface Item
To create an interface item:
- In the Object Navigator, click the plus icon beside the desired Blocks node.
Oracle Forms expands the block node and displays its subnodes.
- Click the plus icon beside the Items node.
- Click Create in the toolbar.
A new item with a default name is inserted under the Items node.
- Double-click the object icon beside the newly created item to display the
Property Palette.
- Under the Database node, set the Database Item
property to No.
Note:When you create an item in a data block, Forms assumes the item
is a data item, and sets its Database Item property to Yes. Data items are
automatically included in any SELECT, UPDATE,
and INSERT statements issued to the database.
If the item you are creating is a control item in a data block, you must explicitly
set its Database Item property to No.
- Under the General node, set the Type property
to specify the type of item you want.
The default item type is text item. You can change the default by setting
the Type property to the item type desired (check box, radio group, list item,
and so on).
- Under the Physical node, set the Canvas property
to the name of the desired canvas.
Note: To display an item at runtime, you must assign
each interface item in a form to a canvas.