shadowColor

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the shadowColor of <object> to {empty | <colorName> | <RGBColor>}
Synonymsseventhcolor
Associationsstack, card, field, button, graphic, scrollbar, player, image, group
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the shadowColor of last scrollbar to myBgColor
set the shadowColor of button "OK" to "gray"
set the shadowColor of the mouseControl to "#336699"
Values
NameTypeDescription
Value

The shadowColor of an object is a color reference. The colorName is any standard color name.

The RGBColor consists of three comma-separated integers between zero and 255, specifying the level of each of red, green, and blue; or an HTML-style color consisting of a hash mark (#) followed by three hexadecimal numbers, one for each of red, green, and blue.

By default, the shadowColor for all objects is empty.

RelatedKeyword: effective, field, button, shadow, scrollbar, player, card, graphic, image
Property: style, shadow, topColor
Command: group
Object: button, image, field, stack
Glossary: object, property, EPS, audio clip, tabbed button, object type, color palette, keyword, integer, video clip, hexadecimal, color reference
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's 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:

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

Tagsui