home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
memoge.zip
/
MEMOGET.DOC
< prev
next >
Wrap
Text File
|
1993-08-02
|
2KB
|
49 lines
---------------------------------------------------------------------------
MemoGet.doc 7/31/93
Author: Shaun Botha (CompuServe: 70043,2641)
Let me know if you make any changes so that I and others can be kept updated.
PS: Just in case...
Author accepts no responsibility for damage caused to software, hardware
marital status, etc resulting from the use of the provided code.
I have to do this - a friend of mine is a litigation lawyer!
---------------------------------------------------------------------------
MemoGet is my little attempt at 'GET'ting a memo field.
The basic idea is that the GET displays only the first few characters of the
memo. In order to modify the memo you need to press a special key to
access the memo (by default I've used Alt+Enter but you can change this).
Example:
..
@ 5, 5 say "Name :" get cName
@ 6, 5 say "Notes :" get cNotes as memo 6, 15, 20, 40
@ 7, 5 say "Address:" get cAddr
..
The numbers after the '..as memo' indicate the coordinates of the window to
be used by memoEdit for modification of the memo. MemoGet provides a default
memo editor but you may specifiy your own as part of the GET statement as
follows:
..
@ 6, 5 say "Notes :" get cNotes as memo 6, 15, 20, 40 editor myEditor
..
* Do not include parenthesis as part of the name for your custom editor - they
will be inserted by the preprocessor
Files:
MemoGet.ch : Provides the GET command for MemoGetting
MemoGet.prg: Provides custom reader block and associated functions for
processing 'GOT' memos. Link MemoGet.obj with your app -
obviously
Hope you like it
ShaunB..