<doc>
  <legacy_id>1811</legacy_id>
  <name>underline</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <keyword tag="italic">italic Keyword</keyword>
  </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>Used with the <property tag="textStyle">textStyle</property> <glossary tag="property">property</glossary> to indicate underlined text.</summary>
  <examples>
    <example>set the textStyle of field "Manhunt" to underline</example>
  </examples>
  <description>
    <p>Use the <b>underline</b> <glossary tag="keyword">keyword</glossary> to emphasize text by underlining it.</p><p/><p><b>Comments:</b></p><p>You can underline an object (which underlines all the text displayed by the object) or  a chunk in a field or button.</p><p/><p>To add underlining to an object without removing other styles (such as bold), append the <b>underline</b> <glossary tag="keyword">keyword</glossary> to the end of the <property tag="textStyle">textStyle</property>. The following example adds underlining to the styles of a <keyword tag="button">button</keyword>:</p><p/><p><code>  if the textStyle of button 1 is empty then</code></p><p><code>    set the textStyle of button 1 to "underline"</code></p><p><code>  else</code></p><p><code>    set the textStyle of button 1 to \</code></p><p><code>      (the textStyle of button 1) &amp; comma &amp; "underline"</code></p><p><code>  end if</code></p>
  </description>
</doc>