Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » System messages

Note: This is a work in progress and will be formatting errors. 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

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

« closeCard | HyperTalk Reference | closeStack »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View