CREATES A SYSTEM OBJECT MEMO AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command MEMO N creates a system object MEMO, and allocates it a number N. The number N will be used to designate the MEMO.
The created MEMO can then be used through the appropriated commands.
The MEMO is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions WIDTH = 185 pixels and HEIGHT = 89 pixels.
A MEMO is an area where the user can enter or modify multiple lines of text.
A MEMO can generate the events : ON_CLICK, ON_DOUBLE_CLICK, ON_CHANGE, ON_KEY_UP, ON_KEY_DOWN.
Remark 1: by default, the MEMO is created on the FORM number 0, but another FORM can be used. For that, create a FORM by FORM N, and send it all the commands by COMMAND_TARGET_IS N before creating the MEMO.
Remark 2: a MEMO is filled with the commands ITEM_ADD, ITEM_INSERT, FILE_LOAD or FILE_ADD, and is read with the function ITEM_READ$().
SYNTAX:
MEMO N
USE ERROR EXAMPLE
rem create a Memo with default position and dimensions
memo 1
rem fill it with an item
item_add 1,"Hello !"
MEMO
MEMO N
SEE ALSO
TOP
LEFT
WIDTH
HEIGHT
HINT
HINT_HIDE
FULL_SPACE
COLOR
ON_CLICK
ON_DOUBLE_CLICK
ON_KEY_UP
ON_KEY_DOWN
FILE_LOAD