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.

newBackground

newBackground
Handler:

on newBackground
   statements
end newBackground
HyperCard sends the newBackground message to the current card (in this case, the first card of the new background) just after HyperCard creates the background.

Although the new background will not have a script with which to respond to the message, any other object along the message-passing path can handle it.


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

« moveWindow | HyperTalk Reference | newButton »


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.

newBackground

newBackground
Handler:

on newBackground
   statements
end newBackground
HyperCard sends the newBackground message to the current card (in this case, the first card of the new background) just after HyperCard creates the background.

Although the new background will not have a script with which to respond to the message, any other object along the message-passing path can handle it.


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

« moveWindow | HyperTalk Reference | newButton »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View