Skip to main content

text

Type​

property

Summary​

The text displayed by the widget

Syntax​

set the text of <widget> to <pText>
get the text of <widget>

Description​

Use the text property to get or set the text displayed by the field widget.

Examples​

local sEntered
on returnKey
-- store the entered text and clear the field
put the text of the target into sEntered
set the text of the target to empty
end returnKey

Value​

NameTypeDescription

value

The text of the widget

Compatibility and Support​

OS

mac