text

Typeproperty
Dictionarymac.textfield
LibraryMac Native Single-line Field
Syntax
set the text of <widget> to <pText>
get the text of <widget>
Associationscom.livecode.widget.native.mac.textfield
Summary

The text displayed by the widget

OSmac
Example
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
Values
NameTypeDescription
Value

The text of the widget

Description

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