Graphics Mapping: 

Map Screen

The Map Screen command provided the mechanism for linking the
graphics environment with the worksheet environment.  A "screen
map" makes it possible to run program applications and execute
macro commands directly (and transparently) from the graphics
screen.  In the Map Screen function, a grid (10 X 10) consisting
of references to cell addresses in the worksheet is superimposed
on the graphics screen.  When the screen map status is activated,
a mouse is used to position the cursor in the graphics screen at
the desired grid cell.  When the left mouse button is pressed,
the macro located in the corresponding cell in the worksheet is
executed.  The display of the grid, which can contain 100 cell
references, can be hidden during the setup procedure so that the
screen map remains active without interfering with the image
display.

Once the Screen Map is constructed, each grid cell in the
graphics screen can contain an icon produced from a compressed
digital image, or the grid can map a single image dissected into
100 parts.  To create the screen map for NPS/MORA, the "Map
Screen" function was activated from the CRISTAL Graphic menu. 
When "Map Screen" was activated, the current image displayed on
the graphics screen became the foundation image for the screen
map.  The application developer then specified an image filename
to place in the screen map.  The program query, "Show the Grid:
Yes/No", allowed the operator to specify whether the grid was to
be displayed superimposed over the foundation image on the
graphics screen.  Each grid cell was labeled with a worksheet
cell address corresponding to the default cell block (A1..J10),
or to another specified cell block.  The mouse was then used to
indicate the location in the grid matrix for the placement of the
compressed, specified image.  The process was repeated by the
application developer to until the map was completed.  

The creation and display of a maximum of 100 image icons on a
single screen is possible with the "Map Screen" function. 
Additional map layers can exist behind the master screen map,
with single icons on the master map providing access to other
fully mapped screens. 

Once a Screen Map has been assembled, the application user
positions the mouse cursor at the desired icon (or component part
of a full screen image) and presses the left mouse button to
access the corresponding information base.  This action initiates
the execution of the macro command (or macro chain) that begins
in the corresponding cell in the current worksheet. 

<gfile01> Index to the Appendices
<gfile32> Application Development 6.