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 - __edit_help_on memo editor help flag http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __edit_help_on      Memo editor help flag
------------------------------------------------------------------------------
 Declaration
   memo.hdr

 Syntax
   logical __edit_help_on

 Default
   .t. (memo editor help is shown).

 Description
   The __edit_help_on system variable controls if the memo editor
   displays a help screen when the F1 key is pressed.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_edit_help_on
   clear
   @ 0, 0 ?? "Press F1 for memo help. Press Escape after editing."
   open sTest index sIdxLN
   medit( sTest->notes, 1, 0, 1, 79, .f. ) // display memo field
   skip
   __edit_help_on := .f.
   @ 4, 0 ?? "Memo help is inactive.  Press Escape after editing."
   medit( sTest->notes, 5, 0, 5, 79, .f. ) // display memo field
   endproc

   proc main
   Test_edit_help_on()
   endproc

See Also: medit()

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