Creating a Control Item
To create a control item:
- In the Object Navigator, click the plus icon
beside the desired Data Blocks node.
Oracle Forms expands the Data Blocks 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, Oracle Forms
assumes the item is a data item, and sets the Database Item property to Yes.
Data items are automatically included in any SELECT, UPDATE, and INSERT statements
issued to the database. If the item being created is a control item in a data
block, you must explicitly set its Database Item
property to No.
- 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.
Related topics
Converting an item to a different type
About creating items
Setting Layout Editor block context
About assigning items to canvases