hide

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
hide <object> [with visual [effect] <effectName> [<speed>] [to <finalImage>]]
Summary

Makes an object invisible.

Introduced1.0
Changes

The ability to use QuickTime special effects was introduced in version 1.1. In previous versions, only the built-in visual effects listed under the visual effect command were available.

The use of QuickTime was deprecated in version 8.1 of LiveCode with new defaults for dontUseQT and dontUseQTEffects as true on all systems apart from pre OS X 10.8. The Windows build of LiveCode no longer supports any QuickTime features and setting the dontUseQT and dontUseQTEffects will have no effect. Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode.

OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
object

Any open stack, or any control in an open stack.

effectName

The effectName, speed, and finalImage are described in the visual effect command. These three parameters operate the same way as they do in the visual effect command.

speed
finalImage
Example
hide button 14
hide field "New" with visual effect "dissolve"
hide this stack with visual "dissolve" fast to black
RelatedKeyword: black
Property: showPict, imageSource, visible, showInvisibles, dontUseQT, dontUseQTEffects
Command: disable, answer effect, show, hide menubar, visual effect
Object: stack
Glossary: object, command, property
Description

Use the hide command to hide objects temporarily or permanently.

Hiding an object sets its visible property to false. The object itself is still in the stack and can be restored with the show command. You can also set the showInvisibles property to true to override the visible property and show all objects.

Hiding a stack hides its window, but does not close the stack. If the stack is being displayed as a drawer, hiding it slides it back into its parent stack.

You can hide a card without causing a script error, but doing so has no effect.

Hiding a group hides all the controls in the group.

Tagsui