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

 Syntax
   logical __edit_browse

 Default
   .f. (memo fields editable).

 Description
   The __edit_browse system variable controls the editability of
   memo fields in the memo editor. If the variable is set to .t., memo
   fields are read only.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_edit_browse
   clear
   @ 0, 0 ?? "Memo is"
   open sTest index sIdxLN
   @ 0, 8 ?? "editable"
   medit( sTest->notes, 1, 0, 1, 79, .f. ) // edit memo field
   __edit_browse := .t.
   @ 0, 8 ?? "not editable"
   medit( sTest->notes, 1, 0, 1, 79, .f. ) // display memo field
   endproc

   proc main
   Test_edit_browse()
   endproc

See Also: medit()

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