Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - cursoron() turn the cursor on http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 cursoron()          Turn the cursor on
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   proc cursoron extern

 Arguments
   None.

 Return
   None.

 Description
   The cursoron() procedure turns the cursor on. cursoron() is equivalent to
   cursor( .t. ).

   If your program has the cursor off, be sure to turn it back on when your
   program terminates or executes an external program through the run
   command.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_cursoron
   vardef
      logical lCursor
   enddef
   lCursor := iscursor()
   cursoron()
   wait "Cursor is on.  Press a key."
   cursoroff()
   wait "Cursor is off. Press a key."
   if lCursor
      cursoron()
   endif
   endproc

   proc main
   Test_cursoron()
   endproc

See Also: cursor() cursoroff() iscursor()

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