[index]
ReturnInField Message
Syntax
on returnInField
end returnInField
Sent to a field
Description
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.
Notes
Examples
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:
on returnInField
answer "Sorry, only one line"
end returnInField
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.