SET WINDOW OF MEMO

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Specify the name of the window in which to edit memo fields


Syntax

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


See Also

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


Description

The SET WINDOW OF MEMO TO command designates a pre-defined window in which to edit the memo of the current record. 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. The <window-name> is the name of the window as specified with the DEFINE WINDOW command.

The SET WINDOW OF MEMO TO <window-name> command must be used before the MODIFY MEMO command is issued. The MODIFY MEMO command is used to edit memos in a window rather than in a pop-up notepad. After the SET WINDOW OF MEMO command is issued and BROWSE is invoked, the memo for the current record will be displayed in <window-name>. When the BROWSE window is active, control can be passed to the memo window by placing the cursor on the memo field in BROWSE and then pressing the [HELP] or [INSERT] key.

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


Example

define window wMemo
  from 13,1 to 21,42;
  title "MEMO WINDOW"
define window wBrowse;
  from 1,1 to 11,42;
  title "BROWSE WINDOW"
 
use demo
set window of memo to wMemo
set window of browse to wBrowse
browse


Products

Recital