The most commonly used keyboard functions are MatchKeys and ZEditField. MatchKeys is typically used to trigger an action when a specified key or sequence of keys is pressed. It does not display the keystrokes entered and can be used to perform actions when function keys are pressed or for accepting password input.
The ZEditField function is used to accept text entered by the operator. It is activated by clicking on the area of the window where the graphic is displayed, or by pressing the TAB key to set the focus to that input object.
The section that follows discusses focusing an object versus selecting an object.