shadowColor

Specifies the color of an object drop shadow or the background of a scrollbar.

# Metadata

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

# Syntax

set the shadowColor of object to {empty | colorName | RGBColor}

# Examples

set the shadowColor of last scrollbar to myBgColor

set the shadowColor of button "OK" to "gray"

set the shadowColor of the mouseControl to "#336699"

# Description

Use the shadowColor property to specify the drop shadow color of a field or button or the background color of a scrollbar.

Setting the shadowColor of an object to empty allows the shadowColor of the object owner to show through. Use the effective keyword to find out what color is used for the object, even if its own shadowColor is empty.

The setting of the shadowColor property has different effects, depending on the object type:

* The shadowColor of a stack, card, or group determines the shadowColor of each object in the stack, card, or group that does not have its own shadowColor.

* The shadowColor of a button is used for the button drop shadow. If the button style is menu (unless the menuMode is tabbed), the shadowColor has no effect. If the button is a tabbed button, the shadowColor is always used for the inactive tabs; otherwise, if the button shadow property is false, the shadowColor has no effect.

* The shadowColor of a field determines the color of the field drop shadow. If the field shadow property is false, the shadowColor has no effect.

* The shadowColor of a scrollbar determines the background color of the scrollbar.

* The shadowColor of a graphic, player, audio clip, video clip, or EPS has no effect.

* The shadowColor of an image is the seventh color in the image color palette.

If an object's shadowPattern is set, the pattern is shown instead of the color specified by the shadowColor.

# Tags

ui,

# See