A script-enabled browser is required for this page to function properly.

Creating a Button

To create a button:

  1. In the Object Navigator, click the plus icon icon to add a node beside the desired block node.
    Oracle Forms expands the block node and displays its subnodes.
  2. Click the Items node.
  3. Click Create in the toolbar.
    A new item with a default name is inserted under the Items node.
  4. Double-click the object icon beside the new item to display the Property Palette.
  5. Under the General node, set the Item Type property to Push Button.
  6. 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 its Database Item property to Yes. Data Items are automatically included in an SELECT, UPDATE, and INSERT statements issued to the database. If the item you are creating is an interface item in a data block, you must explicitly set its Database Item property to No.

  7. 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 it to a canvas.


About buttons

Adding a button label

Defining an iconic button

Defining a default button

Manipulating buttons at runtime