Mac Native Single-line Field | |
Type | widget |
Dictionary | mac.textfield |
Library | Mac Native Single-line Field |
Associations | com.livecode.widget.native.mac.textfield |
Summary | This widget wraps the native NSTextField on Mac. Since this is a single-line field, the return key does not enter a new line, instead it triggers the returnKey action and the contents of the field is selected. |
OS | mac |
Description | This widget wraps the native NSTextField on Mac. Since this is a single-line field, the return key does not enter a new line, instead it triggers the returnKey action and the contents of the field is selected. |
Type | Name | Summary | Syntax |
---|---|---|---|
message | returnKey | Sent when the user presses the return key | on returnKey |
property | enabled | The enabled state of the text field | set the enabled of <widget> to {true | false} get the enabled of <widget> |
- - - | showBorder | Whether the text field has a border or not | set the showBorder of <widget> to { true | false } get the showBorder of <widget> |
- - - | showFocusBorder | Whether the text field has a focus border or not | set the showFocusBorder of <widget> to { true | false } get the showFocusBorder of <widget> |
- - - | text | The text displayed by the widget | set the text of <widget> to <pText> get the text of <widget> |
widget | Mac Native Single-line Field | This widget wraps the native NSTextField on Mac. Since this is a single-line field, the return key does not enter a new line, instead it triggers the returnKey action and the contents of the field is selected. | set the text of <widget> to <pText> get the text of <widget> |