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.

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.


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

« resumeStack | HyperTalk Reference | startUp »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

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.

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.


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

« resumeStack | HyperTalk Reference | startUp »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View