[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]



                 . . .   EVENT SYSTEM OVERVIEW   . . .
------------------------------------------------------------------------------
 The EVENT SYSTEM has a number of functions to provide the programmer with the
 nessecary tools to develop event driven programs.

 To provide compatility with existing systems the mouse event handling has
 been added to the keyboard handling system.  A mouse click (event) is
 treated the same as keystroke, therefore it can be handled the same.  The
 identifying of a mouse event or keystroke is not all that is involved with
 an event driven system.  The control and behavior of the mouse must be
 programmed at the local level.  For instance, a mouse click can be detected
 as easily as a keystroke, but in the case of a menu, a mouse click can be the
 beginning of a dragging process which must be handled in th menu. (see the
 topic on the MOUSE SYSTEM).

 InterruptKey(), the replacement for the INKEY() function provides support
 for both the keyboard and the mouse.  Additionally a codeblock of background
 instructions can be specified through the SetInterrupt() function which is
 monitored (EVALed) during the InterruptKey() process.

 LastInkey(), the replacement for the LASTKEY() function provides the same
 functionality with the additional capability of supporting the mouse and
 allowing the programmer to set the last key/mouse value.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson