<?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 Code for Checkbox and Radio Buttons to open a shapefile in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336450#M8810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to program a check box to open a shapefile. I think the code for the checkbox is "If chkboxstate.text = pApp.OpenDocument (location of shaepfile). Radio button is "If OptButtonATR.text = ........"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 15:09:43 GMT</pubDate>
    <dc:creator>MichelleCouden1</dc:creator>
    <dc:date>2013-12-06T15:09:43Z</dc:date>
    <item>
      <title>Code for Checkbox and Radio Buttons to open a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336450#M8810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to program a check box to open a shapefile. I think the code for the checkbox is "If chkboxstate.text = pApp.OpenDocument (location of shaepfile). Radio button is "If OptButtonATR.text = ........"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 15:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336450#M8810</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2013-12-06T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Code for Checkbox and Radio Buttons to open a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336451#M8811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You would want to put that in the checkbox's CheckChanged Event.&amp;nbsp; Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
&amp;nbsp;&amp;nbsp; if (checkBox1.Checked == true)
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Do stuff to open shapefile
&amp;nbsp;&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336451#M8811</guid>
      <dc:creator>JohnStephens</dc:creator>
      <dc:date>2021-12-11T15:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Code for Checkbox and Radio Buttons to open a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336452#M8812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also started this code. Am I headed in the right direction or no!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim openFileDialog As SystemFont.Windows.Forms.openFileDialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If chkState.Enabled Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If radAtr.Enabled Then openFileDialog.InitialDirectory = "K:\"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 19:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336452#M8812</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2013-12-09T19:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Code for Checkbox and Radio Buttons to open a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336453#M8813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you trying to pull the shapefile into a map? As in, open it as a layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 19:50:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-for-checkbox-and-radio-buttons-to-open-a/m-p/336453#M8813</guid>
      <dc:creator>GraceCai</dc:creator>
      <dc:date>2013-12-09T19:50:21Z</dc:date>
    </item>
  </channel>
</rss>

