<doc>
  <legacy_id>1272</legacy_id>
  <name>linkClicked</name>
  <type>message</type>
  <syntax>
    <example>linkClicked <i>linkedTextOfChunk</i></example>
  </syntax>
  <library></library>
  <objects>
    <field/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <property tag="lockText">lockText Property</property>
    <property tag="linkText">linkText Property</property>
    <function tag="clickLoc">clickLoc Function</function>
    <command tag="click">click Command</command>
    <keyword tag="link">link Keyword</keyword>
  </references>
  <history>
    <introduced version="1.1">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Sent when the user clicks <glossary tag="grouped text">grouped text</glossary>.</summary>
  <examples>
    <example>on linkClicked pLink <code><i>-- open the URL stored with the clicked text</i></code></p><p>launch url pLink</p><p>end linkClicked</example>
  </examples>
  <description>
    <p>Handle the <b>linkClicked</b> <keyword tag="message box">message</keyword> to respond to the user clicking a <glossary tag="grouped text">text group</glossary>.</p>
<p>&nbsp;</p>
<p><b>Parameters:</b></p>
<p>The <i>linkedTextOfChunk</i> is the <property tag="linkText">linkText</property> <glossary tag="property">property</glossary> of the clicked <glossary tag="grouped text">text group</glossary>.</p>
<p>&nbsp;</p>
<p><b>Comments:</b></p>
<p>The <b>linkClicked</b> <keyword tag="message box">message</keyword> is sent to the <keyword tag="field">field</keyword> that was clicked.</p>
<p>&nbsp;</p>
<p>The <b>linkClicked</b> <keyword tag="message box">message</keyword> is sent only when the <glossary tag="Browse tool">Browse tool</glossary> is being used and is sent only if the <keyword tag="field">field</keyword> is <property tag="lockLocation">locked</property>. The <b>linkClicked</b> <keyword tag="message box">message</keyword> is not sent if the <glossary tag="field">field's</glossary> <property tag="listBehavior">listBehavior</property> <glossary tag="property">property</glossary> is true.</p>
<p>&nbsp;</p>
<p>If the clicked text is grouped text--that is, if its <b>textStyle</b> <glossary tag="property">property</glossary> contains "link"--then the <property tag="linkText">linkText</property> <glossary tag="property">property</glossary> of the clicked group is sent as the <i>linkedTextOfChunk</i> <glossary tag="parameter">parameter</glossary>. If the text's <property tag="linkText">linkText</property> is empty, the <function tag="clickText">clickText</function> is sent as the <i>linkedTextOfChunk</i> <glossary tag="parameter">parameter</glossary>.</p>
  </description>
</doc>