Skip to contents

Text box control, updates text string.

Usage

gui_text_box(bounds, text, text_size, edit_mode)

Arguments

bounds

A rectangle.

text

A string (current text).

text_size

An integer (max text size).

edit_mode

A logical.

Value

A list with result (integer) and text (string).

Examples

if (FALSE) {
gui_text_box(rectangle(10, 10, 200, 30), "Hello", 64L, FALSE)
}