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.

hide

hide menuBar
hide titleBar
hide groups
hide card picture
hide background picture
hide picture of card
hide picture of bkgnd
hide field
hide button
hide window
hide externalWindow

The hide command removes HyperCard objects and elements from view.

hide menuBar removes the menu bar from the top of the screen.

hide titleBar removes the title bar on the card window.

Use both of these commands with care: hiding the menu bar, or the title bar of a window, may confuse your users.

The hide groups command removes the two-pixel gray underline displayed for all text that has the “group” text style. The underline appears only after a show groups command.

For graphics, the hide command removes the card or background picture from view. It’s the same as setting the showPict property of the card or background to false.

For buttons, fields, and windows, the hide command is equivalent to setting the visible property to false.

If you hide the frontmost document window, the next document window becomes active. Hide does not remove an external window from the window list (from memory); use the close command to dispose of the window.

Examples

hide card window
-- built-in windows:
hide tool window
hide window "tools"
hide Message box
hide window "Message"
hide message watcher
hide window "Message Watcher"
hide variable watcher
hide window "Variable Watcher"
-- external windows:
hide window "Navigator"
hide window "Script of My HD:Home"
hide button 1
hide second bkgnd field
hide picture of card 3
hide pict of first cd
hide picture of background "jazz"

Demo Script

on hideDemo
set cursor to watch
hide titleBar
lock screen
hide bkgnd field "demo script"
show bkgnd field "demo field"
displayMessage "Let us go then you and I"
unlock screen with dissolve
wait 2 seconds
lock screen
hide bkgnd field "demo field"
show bkgnd field "demo script"
unlock screen with dissolve
show titleBar
end hideDemo

Related Topics

HyperTalk Reference


Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Modern View