<doc>
  <legacy_id>1122</legacy_id>
  <name>focusedObject</name>
  <type>function</type>
  <syntax>
    <example>the focusedObject</example>
    <example>focusedObject()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <command tag="focus">focus Command</command>
  </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><glossary tag="return">Returns</glossary> the currently <glossary tag="active control">focused control</glossary>.</summary>
  <examples>
    <example>the focusedObject</example>
    <example>put the focusedObject into objectToReturnTo</example>
  </examples>
  <description>
    <p>Use the <b>focusedObject</b> <control_st tag="function">function</control_st> to determine which <glossary tag="object">object</glossary> receives any keystrokes that are typed by the user or created by the <command tag="type">type</command> <glossary tag="command">command</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>focusedObject</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the long <property tag="ID">ID</property> <glossary tag="property">property</glossary> of the <glossary tag="object">object</glossary>.</p><p/><p><b>Comments:</b></p><p>The <b>focusedObject</b> can be any <keyword tag="control">control</keyword> on the <glossary tag="current card">current card</glossary>. If no <glossary tag="object">object</glossary> has the <command tag="focus">focus</command>, the <b>focusedObject</b> is the <glossary tag="current card">current card</glossary>.</p>
  </description>
</doc>