palette

Opens a stack in a palette.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

palette stack

# Params

- stack : Any stack reference.

# Examples

palette stack "Tools"

palette the defaultStack

# Description

Use the palette command to display a stack in a palette.

Use palette windows to display tools or information about main windows.

A palette window behaves like an ordinary window, except that its appearance is different, with a narrower title bar. If the raisePalettes property is set to true, any palettes float in their own layer, above all ordinary windows. palettes cannot be resized or edited. To edit a palette, use the topLevel command to display it in an editable window.

The palette command closes the stack and reopens it as a palette, so closeStack and openStack, closeCard and openCard, and (if applicable) closeBackground and openBackground messages are sent to the current card as a result of execute this command. Use the lock messages command before execute palette if you want to prevent the close messages from being sent; the open messages are sent regardless of the setting of the lockMessages property.

If the stack is already displayed as a palette, the palette command does not close and reopen it.

The Browse tool is always used in palette windows, regardless of the current setting of the tool property.

# Tags

# See