SET WINDOW OF EDIT

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Specify the name of the window to display split screen record editing


Syntax

SET WINDOW OF EDIT [IN <alias>] TO <window-name>


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MODIFY MEMO, MOVE WINDOW, RELEASE WINDOWS, RESIZE WINDOW, RESTORE WINDOW, SAVE WINDOW, SHOW WINDOW, SET COMMANDWINDOW, SET ERRORWINDOW, SET STATUS, SET TRACEWINDOW, SET WINDOW OF MEMO, WCOLS(), WEXIST(), WONTOP(), WOUTPUT(), WROWS(), WVISIBLE()


Description

The SET WINDOW OF EDIT command designates a pre-defined window to display a default editing work surface when the BROWSE or EDIT commands are invoked in a window. A window is an area of the screen designated for output and input. Windows are defined with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command. There is no limit to the number of windows you may define. After the SET WINDOW OF EDIT command is issued and BROWSE is invoked, a default edit work surface will be displayed in <window-name>. When the BROWSE window is active, control can be passed to the EDIT window by pressing the BROWSE [WINDOW] key. The <window-name> is the name of the window as specified with the DEFINE WINDOW command.

The optional qualifier IN <alias> may be used to designate an edit window in another workarea. If the IN <alias> qualifier is not use, the correct workarea must be selected before issuing the SET WINDOW OF EDIT command.


Example

define window wEdit;
  from 1,44 to 21,78;
  title "EDIT WINDOW"
use demo
set window of edit to wEdit
edit


Products

Recital