uiform multilinetextentry - part-cw/lambdanative GitHub Wiki
(multilinetextentry . args)
The uiform multilinetextentry element creates a textentry field spanning multiple lines.
Parameter | Default | Description |
---|---|---|
id | #f | Variable to store entered string in |
lines | 1 | The number of lines to span |
location | 'db | Textentry variable storage location |
text | "" | Label string |
indent | 0.1 if no label text, or 0.3 with label text | Indent from left edge of screen (in units of uiform width) |
indentright | 0.1 | Indentation from right edge of screen (in units of uiform width) |
align | left | Text alignment (center, left, right) |
default | "" | Default value text |
keypad | default | Keypad to use (default, full, numfloat, numint, numcolon, numdash) |
keycb | #f | Callback on key press |
Example
Example 1: A complete page definition with a multiline text entry field spanning 3 lines.
(ex_mltxtentry
"Multi Line Text Entry"
("Prev" ex_buttons #f)
("Next" ex_labels #f)
(spacer)
(multilinetextentry text "Notes:" id dummy_pt lines 3)
(spacer)
)