Name: focusIn Type: message Syntax: focusIn Summary: Sent to a when it becomes . Introduced: 1.0 Associations: button, field OS: mac, windows, linux, ios, android Platforms: desktop, server, mobile Example: on focusIn -- boldface the text of the control set the textStyle of the target to "bold" end focusIn Description: Handle the if you want to perform preparation or do other tasks when a control receives the . If the control is an unlocked field or a button whose menuMode is "comboBox", the is sent to it instead of the . A locked field receives the when the user tabs to it or otherwise makes it , or when text in it is by a . References: handler (glossary), focus (glossary), message (glossary), active control (glossary), control (keyword), openField (message), resume (message), selected (property) Tags: ui