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 - setscrollkey() set scroll lock mode http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setscrollkey()      Set Scroll Lock mode
------------------------------------------------------------------------------
 Declaration
   io.hdr

 Syntax
   proc setscrollkey extern
   param value logical lScrollLock

 Arguments
   lScrollLock is the Scroll Lock setting.

 Return
   None.

 Description
   This procedure activates/deactivates the Scroll Lock mode. If lScrollLock
   is .t., the Scroll Lock mode will be activated.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc TestKey static
   wait "Scroll Lock is " + iifc( scrollkey(), " on", "off" ) + ;
      ". Press a key."
   endproc
   
   proc Test_setscrollkey
   TestKey()
   setscrollkey( .t. )
   TestKey()
   setscrollkey( .f. )
   TestKey()
   endproc

   proc main
   Test_setscrollkey()
   endproc

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