closeBox

Shows a window's close box.

# Metadata

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

# Syntax

set the closeBox of stack to {true | false}

# Examples

set the closeBox of this stack to false

# Description

Use the closeBox property to display the close box in a window's title bar.

The setting of this property affects the decorations property, and vice versa. Setting a stack's closeBox property determines whether its decorations property includes "close" (or is "default", for window styles that normally include a close box). Conversely, setting a stack's decorations property sets its closeBox to true or false depending on whether the decorations includes "close" (or is "default" ).

>*Note:* On OS X systems, if the closeBox property is false, the close > box is disabled rather than hidden.

Setting the closeBox property causes the stack window to flash briefly.

# Tags

# See

- **keyword:** default - **property:** decorations, minimizeBox - **message:** closeStack - **object:** stack - **glossary:** property, stack window, close box