<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Script constant for form mode? in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298210#M2148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm sure I've seen somewhere a constant for Arcpad's EditForm modes - something like 'apModeEdit', etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched the documentation but couldn't find anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No matter how much scripting I do I can never remember reliably which mode is which and a constant would make code so much easier to read.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 May 2012 09:41:51 GMT</pubDate>
    <dc:creator>SteveFitzgerald</dc:creator>
    <dc:date>2012-05-12T09:41:51Z</dc:date>
    <item>
      <title>Script constant for form mode?</title>
      <link>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298210#M2148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm sure I've seen somewhere a constant for Arcpad's EditForm modes - something like 'apModeEdit', etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched the documentation but couldn't find anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No matter how much scripting I do I can never remember reliably which mode is which and a constant would make code so much easier to read.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 09:41:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298210#M2148</guid>
      <dc:creator>SteveFitzgerald</dc:creator>
      <dc:date>2012-05-12T09:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Script constant for form mode?</title>
      <link>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298211#M2149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at the Customizing ArcPad Help file under the ArcPad programs folder, i.e. "C:\Program Files (x86)\ArcGIS\ArcPad10.0\Developer\Help\ArcPadStudio.chm". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the contents tab, locate "ArcPad Object Model Reference", then "Form Object", and Mode property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that what you're looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kyle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 13:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298211#M2149</guid>
      <dc:creator>KyleBelott</dc:creator>
      <dc:date>2012-05-12T13:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Script constant for form mode?</title>
      <link>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298212#M2150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kyle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for taking the time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I forgot to mention I'm still on Arcpad 8.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your prompt did however lead me to double (make that triple) check the object model and the help files...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tantalizingly, there is a help file entry called 'mode constants' but it relates to the File object not the Form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you be able to cut 'n paste to the forum? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 07:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298212#M2150</guid>
      <dc:creator>SteveFitzgerald</dc:creator>
      <dc:date>2012-05-13T07:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script constant for form mode?</title>
      <link>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298213#M2151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the Mode property page from the customizing help in ArcPad 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14292[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 01:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298213#M2151</guid>
      <dc:creator>KyleBelott</dc:creator>
      <dc:date>2012-05-14T01:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Script constant for form mode?</title>
      <link>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298214#M2152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kyle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry - you misunderstood what I was after but thanks again for taking the time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of using "If Map.EditLayer.Forms("EditForm").mode = &lt;/SPAN&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;SPAN&gt; then..." I would like to use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;something like "if Map.EditLayer.Forms("EditForm").mode = &lt;/SPAN&gt;&lt;STRONG&gt;apFormEdit &lt;/STRONG&gt;&lt;SPAN&gt;then..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm fairly sure there are constants for the form modes but maybe they are not documented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, maybe I dreamt it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 03:47:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/script-constant-for-form-mode/m-p/298214#M2152</guid>
      <dc:creator>SteveFitzgerald</dc:creator>
      <dc:date>2012-05-14T03:47:33Z</dc:date>
    </item>
  </channel>
</rss>

