Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mouse interface routines - <b>mouseread()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MOUSEREAD()
 Sets up GET/READ with mouse capabilities
------------------------------------------------------------------------------
 Syntax
      MOUSEREAD(<GetList>) -> lUpdated
 Arguments
     <GetList> - The list of gets normally passed to readmodal

 Returns
     <lUpdated> - Which is normally returned by readmodal
 Description
      This routine calls all of the appropriate routines to do a
      read using the mouse for field selection.

      NOTE: When this routine is compiled with TRANSPARENT defined,
      this routine is called readmodal. Thus in transparent mode, no
      modifications to the calling clipper code must be made. If
      TRANSPARENT is not defined then either the definition of READ must
      be changed or MOUSEREAD(GetList) must be called explicitly.

 Examples
     With TRANSPARENT defined at compile time:
     @ 1,2 GET ...
     READ

     Without TRANSPARENT defined:

     #include "mouseget.ch"  // which includes:
                       // #command READ => MouseRead(GetList); GetList:={}
     @ 1,2 GET ...
     READ


 Source: MOUSEGET.PRG

 Author: Leo Letendre

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson