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 - __getrefreshall get field global refresh status http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __getrefreshall     Get field global refresh status
------------------------------------------------------------------------------
 Declaration
   io.hdr

 Syntax
   logical __getrefreshall

 Default
   .f. (get fields not having input focus are not refreshed)

 Description
   The __getrefreshall system variable controls how the contents
   of get fields is refreshed during a read. When __getrefreshall is .f.     
   (the default), only the get field that currently has the input focus
   is refreshed. When __getrefreshall is set to .t., all get fields          
   become refreshed whenever the input focus changes.

   The value of __getrefreshall can be changed any time, i. e. within
   functions installed via valid clauses.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_getrefreshall
   vardef
      char( 10 ) cName
   enddef
   cName := "Johnny"
   clear
   @ 1, 0 get cName
   @ 2, 0 get cName         // when entering this field then...
   @ 3, 0 get cName         // ...this field is not updated
   read
   __getrefreshall := .t.
   @ 5, 0 get cName
   @ 6, 0 get cName         // when entering this field then...
   @ 7, 0 get cName         // ...this field is updated
   read
   endproc

   proc main
   Test_getrefreshall()
   endproc

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