openField

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
openField
Associationsfield
Summary

Sent to an unlocked field when you click or select text in that field.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
on openField -- when clicking in the field, select all its text
  select text of the target
end openField
RelatedKeyword: selection, field
Property: menuMode
Message: focusIn, exitField, closeField
Command: select
Object: field, button
Glossary: select, handler, lock, message, unlock, active control, combo box
Description

Handle the openField message if you want to do something when the user enters a field.

The openField message is sent to buttons whose menuMode is "comboBox", since the type-in box in a combo box behaves like a field.

The openField message is not sent to locked fields. When a locked field becomes active (focused)(glossary) or when text in it is selected by a handler, the focusIn message is sent to it.

Tagsui