<doc>
  <legacy_id>2126</legacy_id>
  <name>shadowColor</name>
  <type>property</type>
  <syntax>
    <example>set the shadowColor of <i>object</i> to {empty | <i>colorName </i>| <i>RGBColor</i>}</example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
    <card/>
    <group/>
    <field/>
    <button/>
    <graphic/>
    <scrollbar/>
    <player/>
    <image/>
  </objects>
  <synonyms>
    <synonym>seventhColor</synonym>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <keyword tag="effective">effective Keyword</keyword>
    <property tag="shadow">shadow Property</property>
    <property tag="topColor">topColor Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies the color of an <glossary tag="object">object's</glossary> drop shadow or the background of a <keyword tag="scrollbar">scrollbar</keyword>.</summary>
  <examples>
    <example>set the shadowColor of last scrollbar to myBgColor</example>
    <example>set the shadowColor of button "OK" to "gray"</example>
    <example>set the shadowColor of the mouseControl to "#336699"</example>
  </examples>
  <description>
    <p>Use the <b>shadowColor</b> <glossary tag="property">property</glossary> to specify the drop shadow color of a <keyword tag="field">field</keyword> or button or the background color of a <keyword tag="scrollbar">scrollbar</keyword>.</p><p/><p><b>Value:</b></p><p>The <b>shadowColor</b> of an <glossary tag="object">object</glossary> is a <href tag="reference/color_reference.rev">color reference</href>.</p><p/><p>The <i>colorName</i> is any standard color name.</p><p/><p>The <i>RGBColor</i> consists of three comma-separated <glossary tag="integer">integers</glossary> 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 <glossary tag="hexadecimal">hexadecimal</glossary> numbers, one for each of red, green, and blue.</p><p/><p>By default, the <b>shadowColor</b> for all <glossary tag="object">objects</glossary> is empty.</p><p/><p><b>Comments:</b></p><p>Setting the <b>shadowColor</b> of an <glossary tag="object">object</glossary> to empty allows the <b>shadowColor</b> of the <glossary tag="object">object's</glossary> owner to show through. Use the <keyword tag="effective">effective</keyword> <glossary tag="keyword">keyword</glossary> to find out what color is used for the <glossary tag="object">object</glossary>, even if its own <b>shadowColor</b> is empty.</p><p/><p>The setting of the <b>shadowColor</b> <glossary tag="property">property</glossary> has different effects, depending on the <glossary tag="object type">object type</glossary>:</p><p/><p>* The <b>shadowColor</b> of a <object tag="stack">stack</object>, <keyword tag="card">card</keyword>, or <command tag="group">group</command> determines the <b>shadowColor</b> of each <glossary tag="object">object</glossary> in the <object tag="stack">stack</object>, <keyword tag="card">card</keyword>, or <command tag="group">group</command> that does not have its own <b>shadowColor</b>.</p><p/><p>* The <b>shadowColor</b> of a <keyword tag="button">button</keyword> is used for the <glossary tag="button">button's</glossary> drop shadow. If the <glossary tag="button">button's</glossary> <property tag="style">style</property> is<code> menu </code>(unless the <b>menuMode</b> is<code> tabbed</code>), the <b>shadowColor</b> has no effect. If the <keyword tag="button">button</keyword> is a <glossary tag="tabbed button">tabbed button</glossary>, the <b>shadowColor</b> is always used for the inactive tabs; otherwise, if the <glossary tag="button">button's</glossary> <keyword tag="shadow">shadow</keyword> <glossary tag="property">property</glossary> is false, the <b>shadowColor</b> has no effect.</p><p/><p>* The <b>shadowColor</b> of a <keyword tag="field">field</keyword> determines the color of the <glossary tag="field">field's</glossary> drop shadow. If the <glossary tag="field">field's</glossary> <keyword tag="shadow">shadow</keyword> <glossary tag="property">property</glossary> is false, the <b>shadowColor</b> has no effect.</p><p/><p>* The <b>shadowColor</b> of a <keyword tag="scrollbar">scrollbar</keyword> determines the background color of the <keyword tag="scrollbar">scrollbar</keyword>.</p><p/><p>* The <b>shadowColor</b> of a <keyword tag="graphic">graphic</keyword>, <keyword tag="player">player</keyword>, <glossary tag="audio clip">audio clip</glossary>, <glossary tag="video clip">video clip</glossary>, or <glossary tag="EPS">EPS object</glossary> has no effect.</p><p/><p>* The <b>shadowColor</b> of an <keyword tag="image">image</keyword> is the seventh color in the <glossary tag="image">image's</glossary> <glossary tag="color palette">color palette</glossary>.</p><p/><p>If an object's <b>shadowPattern</b> is set, the pattern is shown instead of the color specified by the <b>shadowColor</b>.</p>
  </description>
</doc>