Context menu

Right-clicking a node in the Outline view displays the context menu. Depending on the node, this menu displays the following entries:
Note: The right-click context menu options are not available for the elements that are part of read-only code sections.
Option Description
Cut Cut the selected node.
Note: This option is not supported for Edit Freeform Query.
Copy Copy the selected node.
Paste Paste the selected node.
Note: This option is not supported for Edit Freeform Query.
Duplicate Create a copy of the selected widget.
Note: This option is available only for widgets present on the design window open.
Delete Delete a selected node.
Note: This option is not supported for Edit Freeform Query.
Enable DB-Required / Disable DB-Required Toggle switch to add or remove DB-Required block generated for a function and procedure. See the Specifying DB-Required code blocks.
Move-to-Top Makes the selected basic object or SmartObject instance overlay other basic objects or SmartObject instances of its type.
Move-to-Bottom Makes the selected basic object or SmartObject instance underlay other basic objects or SmartObject instances of its type.
Properties Opens the Property Sheet dialog for the selected widget.
Note: This option is available only with widgets present on the design window open.
Add Trigger Opens the Add Trigger dialog that allows you to add a new trigger for the selected widget.
The Add Trigger menu option is disabled for the SmartObject instances nodes in the Outline view.
Note: This option is available only with the design window open.
Define Service Interface Opens the Define Service Interface wizard that allows you to publish the selected procedures and functions as a service interface.
Note: This option is available only with the view source mode.
Edit Freeform Query Opens the Edit Freeform Query dialog box that allows you to edit the code of the Query.
Note: This option is available with the view source mode only.
Caution:
If you are not connected to the database, content assist and color coding will not work as expected.