To create a memo field, you specify (1) the size of the memo buffer in rows and columns and (2) the size and location of the region on the data form where you want the memo field displayed. The memo buffer can be the same size as or larger than the memo field display area; do not create a buffer that is smaller than the display area. The size of a memo field buffer must be less than 65536.
To implement a tickertape memo field, define a display area that is one row high and any number of columns wide, but no larger than the display area available on the data form. Define the memo buffer to be one row and as many columns as desired, up to the maximum buffer size (65536).
Memo fields are row and column oriented. In essence, a memo field is a window appearing on the data form with an underlying memo buffer. Thus, two coordinate systems are in use: one for the memo field window and one for the memo buffer. The memo buffer coordinate (0, 0) is the top-left corner of the memo buffer. The memo field window coordinate (0, 0) is the top-left corner inside the memo field display region or window.
Unlike other types of data fields, memo fields do not have a field picture string. The user can enter any character in the range from 0 to 255, including graphics and non-printable characters. To enter a non-printable or graphics character in a memo field on a PCDOS system, hold down the Alt key and type in the keycode for the character. For example, to enter the graphics vertical line character, hold down the Alt key and type 179.
Code: As with all items on a form, you must define memo fields in the order that you want the user to ordinarily move between the items.