This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathborderColor.xml
More file actions
95 lines (80 loc) · 8.11 KB
/
Copy pathborderColor.xml
File metadata and controls
95 lines (80 loc) · 8.11 KB
1
<doc> <legacy_id>2214</legacy_id> <name>borderColor</name> <type>property</type> <syntax> <example>set the borderColor of <i>object</i> to {empty | <i>colorName </i>| <i>RGBColor</i>}</example> <example>set the borderColor of <i>line</i> of <i>field</i> to {empty | <i>colorName </i>| <i>RGBColor</i>}</example> </syntax> <synonyms> <synonym>fourthColor</synonym> <synonym>markerFillColor</synonym> </synonyms> <summary>Specifies the color of an <glossary tag="object">object's</glossary> border.</summary> <examples><example>set the borderColor of field "Alert" to "red"</example><example>set the borderColor of last button to "#000000"</example><example><p>set the borderColor of scrollbar ID 1010 to "128,128,128"</p></example><example>set the borderColor of line 1 of field 1 to "255,0,0"</example> </examples> <history> <introduced version="1.0">Added.</introduced> <deprecated version=""></deprecated> <removed version=""></removed> <changed version="5.5">Updated for paragraphs</changed><changed version="2.0">2.0</changed> </history> <objects> <stack/> <card/> <group/> <field/> <button/> <graphic/> <scrollbar/> <player/> <image/> </objects> <platforms> <mac/> <windows/> <linux/> <ios/> <android/> </platforms> <classes> <desktop/> <server/> <web/> <mobile/> </classes> <security> </security> <classification> <category>Appearance & Positioning</category> </classification> <references> <property tag="topColor">topColor Property</property> <property tag="borderPattern">borderPattern Property</property> <property tag="borderPixel">borderPixel Property</property> <property tag="selectionHandleColor">selectionHandleColor Property</property> <property tag="hGrid">hGrid Property</property> <property tag="markerFilled">markerFilled Property</property> <property tag="penBack">penBack Property</property> <keyword tag="box">box Keyword</keyword> </references> <description> <overview>Use the <b>borderColor</b> <glossary tag="property">property</glossary> to specify the border color of an object or paragraph of text in a field.</overview> <parameters><parameter><name>colorName</name><description>Any standard color name.</description></parameter><parameter><name>RGBColor</name><description>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.</description></parameter> </parameters> <value></value> <comments>By default, the <b>borderColor</b> for all <glossary tag="object">objects</glossary> is empty.<p></p><p>Setting the <b>borderColor</b> of an <glossary tag="object">object</glossary> to empty allows the <b>borderColor</b> of the <glossary tag="object">object's</glossary> <property tag="owner">owner</property> 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>borderColor</b> is empty.</p><p></p><p>If the object's <b>showBorder</b> <glossary tag="property">property</glossary> is false, the <b>borderColor</b> has no effect. If the <glossary tag="object">object's</glossary> <property tag="threeD">threeD</property> <glossary tag="property">property</glossary> is true, the <property tag="topColor">topColor</property> and <property tag="bottomColor">bottomColor</property> are used to draw the border, rather than the <property tag="borderColor">borderColor</property>.</p><p></p><p>The setting of the <b>borderColor</b> <glossary tag="property">property</glossary> has different effects, depending on the <glossary tag="object type">object type</glossary>:</p><p></p><p>* The <b>borderColor</b> of a <object tag="stack">stack</object> determines the <b>borderColor</b> of each <glossary tag="object">object</glossary> in the <object tag="stack">stack</object> that does not have its own <b>borderColor</b>.</p><p></p><p>* The <b>borderColor</b> of a <keyword tag="card">card</keyword> or <command tag="group">group</command> determines the color of the border around the <keyword tag="card">card</keyword> or <command tag="group">group</command>, as well as determining the <b>borderColor</b> of each <glossary tag="object">object</glossary> in the <keyword tag="card">card</keyword> or <command tag="group">group</command> that does not have its own <b>borderColor</b>.</p><p></p><p>* The <b>borderColor</b> of a <keyword tag="button">button</keyword> determines the color of the border around the <keyword tag="button">button</keyword>. If the <glossary tag="button">button's</glossary> <property tag="style">style</property> is "checkbox" or "radioButton", the <b>borderColor</b> has no effect. If the button is a <glossary tag="button menu">button menu</glossary>, the <b>borderColor</b> has no effect unless the <glossary tag="button">button's</glossary> <property tag="menuMode">menuMode</property> <glossary tag="property">property</glossary> is set to "comboBox" or "popup". If the <glossary tag="button">button's</glossary> <property tag="threeD">threeD</property> <glossary tag="property">property</glossary> is set to true, the <b>borderColor</b> has no effect regardless of the <glossary tag="button">button's</glossary> <property tag="style">style</property>.</p><p></p><p>* The <b>borderColor</b> of a <keyword tag="field">field</keyword> determines the color of the border around a scrolling <glossary tag="field">field's</glossary> scrollbar, the color of the grid lines if the <glossary tag="field">field's</glossary> <property tag="hGrid">hGrid</property> or <property tag="vGrid">vGrid</property> <glossary tag="property">property</glossary> is true, and the color of the outline around any text in the <keyword tag="field">field</keyword> whose <property tag="textStyle">textStyle</property> is set to "box".</p><p></p><p>* The <b>borderColor</b> of a <keyword tag="scrollbar">scrollbar</keyword> is the color of the border surrounding the <keyword tag="scrollbar">scrollbar</keyword>.</p><p></p><p>* The <b>borderColor</b> of a <keyword tag="graphic">graphic</keyword> is used to fill the marker shapes at the <glossary tag="graphic">graphic's</glossary> <glossary tag="vertex">vertexes</glossary>, if the <glossary tag="graphic">graphic's</glossary> <property tag="style">style</property> isorand its <b>markerDrawn</b> is true. It is also used to draw a border around it if the <glossary tag="graphic">graphic's</glossary> <property tag="showBorder">showBorder</property> and threeD properties are both set to true.</p><p></p><p>* The <b>borderColor</b> of an <glossary tag="audio clip">audio clip</glossary> or <glossary tag="video clip">video clip</glossary> has no effect.</p><p></p><p>* The <b>borderColor</b> of a <keyword tag="player">player</keyword> or <glossary tag="EPS">EPS object</glossary> is the color of the border around the <glossary tag="object">object</glossary>. If the <glossary tag="object">object's</glossary> <property tag="threeD">threeD</property> <glossary tag="property">property</glossary> is set to true, the <b>borderColor</b> has no effect.</p><p></p><p></p><tip>To set the color of an <glossary tag="image">image's</glossary> border, set the <property tag="borderColor">borderColor</property> of the <keyword tag="card">card</keyword>, <object tag="stack">stack</object>, or <command tag="group">group</command> that <glossary tag="owner">owns</glossary> the <keyword tag="image">image</keyword>.</tip><p></p><p>If an object's <b>borderPattern</b> is set, the pattern is shown instead of the color specified by <b>borderColor</b>.</p><p></p><p></p><change><p>The <b>borderColor</b>'s effect on grid lines in <glossary tag="field">fields</glossary> was introduced in version 2.0. In previous versions, the color of the grid lines was determined by the <glossary tag="field">field's</glossary> <property tag="hiliteColor">hiliteColor</property> <glossary tag="property">property</glossary>.</change></comments> </description></doc>