Sent to a field
The returnInField message is sent when the Enter key on MS-Windows or the Return key on Macintosh is pressed while an insertion point or selection is in a field. If you want the key press to have its usual effect, you must pass returnInField at the end of your handler.
Create a field with the showLines property set to true. Resize the field so that only one line is visible. Put the following into the field script:
answer "Sorry, only one line"
This text has been mechanically extracted from the Oracle Media Objects 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.