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>mousememoidle()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MOUSEMEMOIDLE()
 MemoEdit Mouse driver
------------------------------------------------------------------------------
 Syntax
      MOUSEMEMOIDLE() -> NIL
 Arguments
     None
 Returns
     NIL
 Description
     This routine handles mouse input for MemoEdit(). It must be called in
     your <cUserFunction> when MemoEdit() indicates that it is in the idle
     state. It operates by polling the mouse and the keyboard (using
     NEXTKEY()). If there is keyboard input control is returned to the
     event handler <cUserFunction>. If mouse input is present then
     this routine handles it.

     Clicking the left button in the edit area caused the text cursor
     to move to that position. Clicking on a "hot spot" will cause the
     associated code block to be executed. The "Hot spots" are tested
     first so they can be in the memo edit area if you want them to be.
 Examples
     IF MemoEditState=ME_IDLE
        MouseMemoIdle()
     ELSEIF MemoEditState=...
     ENDIF

 Source: MEMOFUNC.PRG

 Author: Leo Letendre

See Also: MMEMOEDIT()

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