CREATES A SYSTEM OBJECT MEMO_RICH AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command MEMO_RICH N creates a system object MEMO_RICH and allocates it a number N. The number N will be used to designate the MEMO_RICH.
The created MEMO_RICH can then be used through the appropriated commands.
The MEMO_RICH 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_RICH is an area where the user can enter or modify multiple lines of text with styles and colors.
A MEMO_RICH can generate the events : ON_MOUSE_UP, ON_MOUSE_DOWN, ON_MOUSE_MOVE.
Remark : by default, the MEMO_RICH 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_RICH.
SYNTAX:
MEMO_RICH N
USE ERROR EXAMPLE
rem create a MEMO_RICH with default position and dimensions
memo_rich 1
rem fill it with an item
item_add 1,"Hello !"
MEMO_RICH
MEMO_RICH N
SEE ALSO
TOP
LEFT
WIDTH
HEIGHT
HINT
HINT_HIDE
FULL_SPACE
COLOR
ON_MOUSE_MOVE
ON_MOUSE_UP
ON_MOUSE_DOWN
FILE_LOAD