<doc>
  <legacy_id>2410</legacy_id>
  <name>lock recent</name>
  <type>command</type>
  <syntax>
    <example>lock recent</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Navigation &amp; Hypertext</category>
  </classification>
  <references>
    <command tag="lock messages">lock messages Command</command>
    <command tag="unlock recent">unlock recent 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>Sets the <property tag="lockRecent">lockRecent</property> <glossary tag="property">property</glossary> to true, preventing <glossary tag="card">cards</glossary> from being added to the <glossary tag="recent cards">recent cards list</glossary>.</summary>
  <examples>
    <example>lock recent</example>
    <example>if not the hilite of button "Advanced" then lock recent</example>
  </examples>
  <description>
    <p>Use the <b>lock recent</b> command to move among <glossary tag="card">cards</glossary> without disturbing the <glossary tag="recent cards">recent cards list</glossary>.</p><p/><p><b>Comments:</b></p><p>When either the user or a handler navigates to a card, that card is placed on the recent cards list, and the user can return to it with the <b>go</b> <glossary tag="command">command</glossary> or the "Go Recent" item in the View <keyword tag="menu">menu</keyword>. If a <glossary tag="handler">handler</glossary> visits a <keyword tag="card">card</keyword> that is not normally seen by the user, you can use the <b>lock recent</b> <glossary tag="command">command</glossary> to prevent the user from inadvertently going to that <keyword tag="card">card</keyword> later.</p><p/><p>The <b>lock recent</b> <glossary tag="command">command</glossary> sets the <property tag="lockRecent">lockRecent</property> <glossary tag="property">property</glossary> to true. When all pending <glossary tag="handler">handlers</glossary> are finished <glossary tag="execute">executing</glossary>, the <property tag="lockRecent">lockRecent</property> <glossary tag="property">property</glossary> is set back to false.</p>
  </description>
</doc>