Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

returnInField

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:

on returnInField
   statements
end returnInField



Placeholders

statements
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.

put "Hello world"   -- built-in command
get total(field 1)  -- function call
global HelpInfo     -- keyword


Related Topics

« reset | HyperTalk Reference | returnKey »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

returnInField

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:

on returnInField
   statements
end returnInField



Placeholders

statements
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.

put "Hello world"   -- built-in command
get total(field 1)  -- function call
global HelpInfo     -- keyword


Related Topics

« reset | HyperTalk Reference | returnKey »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View