[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION EDITMEMO() *changed*
Short:
------
EDITMEMO() Performs a windowed memoedit() on a memo field
Returns:
--------
<lChanged> -> Was the memo field changed
Syntax:
-------
EDITMEMO([cMemoName],[nTop,nLeft,nBottom,nRight],;
[lModify],[nLineLength],[cTitle])
Description:
------------
Pops up a box allowing editing of a memo field.
Escape exits, F10 saves.
Options for import and export as well.
Edits field named MEMO by default, otherwise edits
fieldname passed as [cMemoName]. Uses coordinates 2,10,20,69
unless passed coordinates as [nTop, nLeft, nBottom, nRight]
[lModify] - True = allow edit (default), False = view only
[nLineLength] - line length - default is window width-1
[cTitle] Title (max 25 characters) Default is MEMO PAD (new to 3.5)
Examples:
---------
editmemo()
editmemo("NOTES")
editmemo("NOTES",2,2,22,78)
editmemo("NOTES",2,2,22,78,.f.)
Notes:
-------
If editing, must have a box width of at least 50
Requires a memo FIELD - will not work on a memvar.
See EDITMEMOV() to edit memvars.
Source:
-------
S_EDITM.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson