Opening a Graphical Tool From the Text Editor

How to:

Since the Text Editor is fully integrated with the graphical toolset, you can open the following tools from the editor or the Other component: Set, Allocation, Use, Join, Define, Report, Graph. The location of the cursor in the procedure code determines where the code is returned in the Editor window. When you close a tool that you opened from the Text Editor, you return to the Text Editor. Any edits you saved in the graphical tool are reflected in the code.


Top of page

x
Procedure: How to Add Code With a Graphical Tool From the Text Editor

In the Text Editor or the Other component:

  1. Open a procedure or a procedure component.
  2. Position the cursor on a blank line at the point where you want to insert the code generated by the tool you are about to open.

    Tip: If the cursor is not located on a blank line, the new code will be inserted before the block of contiguous code in which the cursor is positioned.

  3. Click one of the following icons on the toolbar: Set, Allocation, Use, Join, Define, Report, Graph. The corresponding graphical tool opens.
  4. Create the procedure component and close the tool.

You return to the Text Editor, where the new code has been inserted.


Top of page

x
Procedure: How to Edit Code With a Graphical Tool From the Text Editor

In the Text Editor or the Other component:

  1. Open a procedure or a procedure component.
  2. Position the cursor on the line containing the code you want to edit, and click the Launch FOCUS Tool button on the toolbar.

    The appropriate graphical tool opens.

  3. Edit the procedure component and close the tool.
  4. When you are asked if you want to update the procedure, click Yes.

    You return to the Text Editor, where the code has been revised.


WebFOCUS