<doc>
  <legacy_id>2373</legacy_id>
  <name>showBorder</name>
  <type>property</type>
  <syntax>
    <example>set the showBorder of <i>object</i> to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
    <card/>
    <group/>
    <field/>
    <button/>
    <graphic/>
    <scrollbar/>
    <player/>
    <image/>
  </objects>
  <synonyms>
    <synonym>showPen</synonym>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="printCardBorders">printCardBorders Property</property>
    <property tag="showHilite">showHilite 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 whether an outline is drawn around an <glossary tag="object">object</glossary>.</summary>
  <examples>
    <example>set the showborder of group "Status" to true</example>
  </examples>
  <description>
    <p>Use the <b>showBorder</b> <glossary tag="property">property</glossary> to draw an outline around an <glossary tag="object">object</glossary>, or to make the <glossary tag="object">object</glossary> borderless.</p><p/><p><b>Value:</b></p><p>The <b>showBorder</b> of an <glossary tag="object">object</glossary> is true or false.</p><p/><p><b>Comments:</b></p><p>The appearance of the border depends on the object's <b>threeD</b> and <property tag="borderWidth">borderWidth</property> <property tag="properties">properties</property>, and on the <glossary tag="object type">object type</glossary>.</p><p/><p>If the object's <b>threeD</b> <glossary tag="property">property</glossary> is set to false, the border is drawn using the <property tag="borderColor">borderColor</property> <glossary tag="property">property</glossary> (or the <property tag="borderPattern">borderPattern</property> <glossary tag="property">property</glossary>, if it is not empty). If the object's <b>threeD</b> is true, the raised edges are drawn using the <property tag="topColor">topColor</property> or <property tag="topPattern">topPattern</property> <glossary tag="property">property</glossary>, and the sunken edges are drawn using the <property tag="bottomColor">bottomColor</property> or <property tag="bottomPattern">bottomPattern</property>.</p><p/><p>If the object's <b>showBorder</b> <glossary tag="property">property</glossary> is set to false, and its <property tag="backgroundColor">backgroundColor</property> is empty, its interior is drawn with the <property tag="backgroundColor">backgroundColor</property> or <property tag="backgroundPattern">backgroundPattern</property> of its <property tag="owner">owner</property>.</p><p/><p>The borders of controls and groups follow the object's <b>rectangle</b> <glossary tag="property">property</glossary>. The border of a <keyword tag="card">card</keyword> is an outline just inside the boundary of the <glossary tag="stack window">stack window</glossary>. You can set the <b>showBorder</b> of a <object tag="stack">stack</object>, but the setting has no effect.</p>
  </description>
</doc>