Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
returnInField
The returnInField
command places a return character at the position of the insertion point in a field.
If the autoTab
property of the field is true
and the insertion point is on the last line of the field and the field is any type except scrolling, the returnInField
command does not insert a return character but instead sends the tabKey
command to the field.
HyperCard automatically sends the returnInField
command to a field when the user presses Return and the insertion point is in the field.
You can handle the returnInField
message as follows:
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.