Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference »

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

closeField

closeField

Handler:

on closeField
statements
end closeField

HyperCard sends the closeField message to an unlocked field when, after editing, a user (or handler) performs an action that closes (that is, removes the insertion point from) the field. HyperCard sends closeField only when the text actually changes.

The following actions close a field, saving any changes that were made to the text:

  • Clicking outside the field
  • Moving the insertion point to the next field with the Tab key
  • Pressing the Enter key
  • Pressing Command-Shift-Z to revert the field to the last saved version
  • Going to another card
  • Quitting HyperCard

Related Topics

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

HyperTalk Reference


Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Modern View