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.

sizeWindow

sizeWindow

Handler:

on sizeWindow
statements
end sizeWindow

HyperCard sends the sizeWindow message to the current card when the user or a script resizes the window. In many cases, HyperCard will send a moveWindow message immediately after a sizeWindow message.

Here are the ways a window can be resized:

  • The user resizes the window using the size box.
  • The user resizes the window using the Scroll window.
  • The user clicks the zoom box, and the zoom changes the window size.
  • A handler sets the rect of the card window to a new size.
  • A handler resizes all the cards in a stack by setting the rect of the card to a new size.

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