Livecode Wiki
Advertisement

Specifies the color of a three-D object's lowered edge.Syntax:

set the bottomColor of <object> to {empty | <colorName> | <RGBColor>}

Examples:

set the bottomColor of scrollbar 1 to "purple"
set the bottomColor of field 1 to the topColor of me

Objects whose threeD property is set to true appear to stick out of or recede into the screen. Use the bottomColor property to specify the color of the shadowed edge of the object(glossary).

Setting the bottomColor of an object(glossary) to empty allows the bottomColor of the object's owner to show through. Use the effective keyword to find out what color is used for the object(glossary), even if its own bottomColor is empty.

If the object's showBorder property is false, the bottomColor has no effect.

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

  • The bottomColor of a stack determines the bottomColor of each
 object(glossary) in the stack that does not have its own
 bottomColor. 


  • The bottomColor of a card or group determines the color of the
 border around the card or group, as well as determining the
 bottomColor of each object(glossary) in the card or group that
 does not have its own bottomColor.


 graphic forms a border on the bottom and right edges of the
 object(glossary). If the object's threeD property is
 false, the bottomColor has no effect.


  • The bottomColor of a field(keyword) forms a border on the top and
 left edges of the field(keyword) and (if the field(keyword) is a
 scrolling field(keyword)) the bottom and right edges of the arrow
 boxes at the ends of the scrollbar and the top and left edges of the
 scroll area. The field's bottomColor also determines
 the color of the bottom and right edges of any text in the
 field(keyword) whose textStyle is set to "threeDBox". If the
 field's threeD property is false, the
 field(keyword) border is not affected.


  • The bottomColor of a scrollbar forms a border on the bottom and
 right edges of the arrow boxes at the ends of the scrollbar, and the
 top and left edges of the scroll area.


  • The bottomColor of an audio clip or video clip has no effect.


  • The bottomColor of an image(keyword) is the sixth color in the
 image's color palette. (To set the color of the
 lowered edge of an image's border, set the
 bottomColor of the card, stack, or group that owns the
 image(keyword).) 


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

See also: image (object),field (object),stack (object),owner (property),bottomColor (property),topColor (property),hiliteBorder (property),threeDHilite (property),threeD (property),textStyle (property),

Advertisement