<?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 Re: Checkbox and Radio Button Programming on GUI in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224293#M5815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And don't forget this &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/81475-Loop-inside-a-loop-or-Nested-Loop-in-VBA"&gt;one&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 15:18:47 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2014-02-26T15:18:47Z</dc:date>
    <item>
      <title>Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224262#M5784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I on the right path here with my checkboxes and radio button programming. I have about three different checkboxes and a few radio button that I need to use in a If then statement. Unless, there is a simplier way of calling a layer using them...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private void checkBox1_Checked Changed(object sender, EventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (checkboxstate.checked == true) Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If radioAtr.Enabled Then openFileDialog.InitialDirectory = "K:\"......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All help is extremely appreciated. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224262#M5784</guid>
      <dc:creator>MichelleCouden</dc:creator>
      <dc:date>2014-02-20T18:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224263#M5785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Am I on the right path here with my checkboxes and radio button programming. I have about three different checkboxes and a few radio button that I need to use in a If then statement. Unless, there is a simplier way of calling a layer using them...&lt;BR /&gt;&lt;BR /&gt;private void checkBox1_Checked Changed(object sender, EventArgs e)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (checkboxstate.checked == true) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If radioAtr.Enabled Then openFileDialog.InitialDirectory = "K:\"......&lt;BR /&gt;&lt;BR /&gt;All help is extremely appreciated. Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like you're on the right path.&amp;nbsp; Just as a tip in the future, use the "&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;" tags (the # symbol in the post editor) to post you code.


Also, for boolean checking, you don't need == true.&amp;nbsp; i.e.:

&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

// checked
if (myCheckBox.Checked) 
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; // some code
}


// not checked
if (!myCheckbox.Checked)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; // some code
}
&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224263#M5785</guid>
      <dc:creator>KevinYanuk</dc:creator>
      <dc:date>2021-12-11T10:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224264#M5786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;private void checkBox1_Checked Changed(object sender, EventArgs e)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (checkboxstate.checked == true) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If radioAtr.Enabled Then openFileDialog.InitialDirectory = "K:\"......&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand what you have posted, you want this logic to run when the checkbox is being checked or being unchecked?&amp;nbsp; You have this logic in the Checked Changed method, is that what you wanted?&amp;nbsp; If it is being unchecked, why do you want to check another boolean value to see if it is enabled to decide whether to open a file dialog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe could you expand on what you want to do?&amp;nbsp; Maybe with a screenshot of your GUI?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 12:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224264#M5786</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-21T12:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224265#M5787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry Leo, I should have explained my idea for this program. Yes, I am using both checked box and radio buttons. When the box is checked and then they have checked a radio button a certain shapefile will open. For Example, they check State and then check the radio button to Manual the manual shapefile will open. I just thought I could use all checkboxes and no radio buttons that would probably be easier. Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 13:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224265#M5787</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-24T13:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224266#M5788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm.. Ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the difference between checking State and Manual?&amp;nbsp; Is Manual related to State?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yould could use all checkboxes for this project.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could have a really long "if" statement that checks every checkbox to see if it is checked and add the corresponding layer, or you can make it more elegant/complex and maybe use a control array or perhaps add/remove values to an array list or something and then iterate over the array list to add those layers to your map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 13:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224266#M5788</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-24T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224267#M5789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess what I'm saying is...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the State checkbox is checked, the additional status of a radio button only gives you two options.. Manual or not Manual?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like overkill to say:&amp;nbsp; If the State checkbox is checked, do you want to load the Manual layer or the other layer? Why not just give the user the option to load one or the other, why relate those choices to whether a State checkbox is checked or not checked?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 14:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224267#M5789</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-24T14:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224268#M5790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are right. I knew it was going to be a really long If statement. Yes, State is related to Manual. They are maps of traffic count stations.&amp;nbsp; For Example, the user would pick state (for the state of texas) and then check manual (manual is a type of station), then that shapefile of the state with manual stations pops up. So, I agree with you all checkboxes are the way to go. Let me try to fix code and I'll send it to you to check for me. Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 15:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224268#M5790</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-24T15:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224269#M5791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I recall, you are building a string value with these checkbox options right?&amp;nbsp; I think it was based on your directory layout if I remember correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't one of the other people in the forum give you some samples that worked?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 15:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224269#M5791</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-24T15:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224270#M5792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I have a code for the radio button. I was going to rewrite it to make sure I get the concept of the ArcObjects language to use for the check boxes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;PRE&gt; If checkboxstate = true Then&lt;/PRE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;PRE&gt;If checkboxManual = true Then openFiledialog.InitialDirectory = "K:\......&lt;/PRE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just making sure on the language I am not familiar with ArcOBject laguage i.e. openFileDialog and checkbox=true and so on...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 19:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224270#M5792</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-24T19:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224271#M5793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just so I understand, why do you want to double check something in order to load a shapefile?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do two conditions have to be true:&amp;nbsp; checkboxstate and checkboxManual&amp;nbsp; in order to load a shapefile?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not just call a checkbox:&amp;nbsp; checkboxStateManual ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 19:36:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224271#M5793</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-24T19:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224272#M5794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This comes from a dialog box that opens when you open the mxd. You as the user check boxes to pull up the shapefile. For example, they want a map of the state of texas with all the manual traffic count stations on that map. Yeah, the only reason why I'm doing this in ArcObjects is because of the pretty dialog box my boss wants.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 19:58:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224272#M5794</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-24T19:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224273#M5795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You as the user check boxes to pull up the shapefile. For example, they want a map of the state of texas with all the manual traffic count stations on that map..&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, but, why do you want the user to check two things in order to load a single layer?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could easily name that checkbox: checkboxTexasManual&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the user only needs to check one checkbox to get that layer to load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you have a GUI with several checkboxes from different states and each state has different options?&amp;nbsp; There are easier ways to present this to the user.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 12:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224273#M5795</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-25T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224274#M5796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'm sorry I thought I mentioned that on the first post. I have a GUI of many check boxes. They would choose between district or state and then they would choose between 8 to 9 different types of stations. So, for instance they might choose state and then choose ATR and Manual and AVC. So, yes this program is going to be a very long if then statement unles, I find out a simplier way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 12:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224274#M5796</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-25T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224275#M5797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, then mark your post as the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 13:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224275#M5797</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-25T13:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224276#M5798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, I take it I'm on the right track with the code below?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;PRE&gt;] If checkboxstate = true Then&lt;/PRE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If checkboxManual = true Then openFiledialog.InitialDirectory = "K:\......&lt;PRE&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 13:47:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224276#M5798</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-25T13:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224277#M5799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;not really.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 17:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224277#M5799</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-25T17:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224278#M5800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's why I need help. Could you please direct me on how to get started. I don't think I will have trouble with the If then loop, once I get started. It's the arcObject language to use for the checkboxes.&amp;nbsp; Is it the checkbox commands I have wrong?&amp;nbsp; You mentioned an easier way. Is the If then loop the wrong program to use?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:46:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224278#M5800</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-26T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224279#M5801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It might be easier for us to provide help if you post the image of your dialog box and a better explanation of your workflow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 13:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224279#M5801</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-02-26T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224280#M5802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it the checkbox commands I have wrong?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to help you, trust me.&amp;nbsp; Unless your supervisor is dictating that you need a checkbox "and" a radio button to turn on a single layer, I don't see why you need to use both GUI components and perform a double boolean check to turn on a single layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could see where maybe instead of checkboxes for States, you would use tabs, and then every checkbox on that State's tab would be related and you wouldn't need to use a radio button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also think you need to understand the difference between when to use a checkbox and when to use a radio button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Radio Buttons - two or more mutually exclusive items, meaning you can only choose one of those mutually exclusive items at a time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Checkbox - A Single checkbox is like a yes/no question - either you checked it or you didn't.&amp;nbsp; Grouped checkboxes can provided the user with the option to check multiple options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far, even when asked, you haven't provided information about why you want to use both GUI components.&amp;nbsp; And all I'm saying is that instead of this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 GUI components&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[checkbox] texasCheckbox - [radio button] rdoManualTrafficCounts&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you could do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 GUI component&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[checkbox] texasCheckboxForManualTrafficCounts&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I don't know what you are trying to do, so we go back and forth.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 13:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224280#M5802</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-02-26T13:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox and Radio Button Programming on GUI</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224281#M5803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm sorry. I thought I was explaining myself. I am open to ideas on this project because of having to access so many different shapefiles for the user I really didn't want to write a ten page program with If then statements. I have attached a picture of my GUI that I have now. Let me try to explain our work here at TxDOT. We have about 6 different count machines. And our customers (i.e. the public) want maps to see where we do traffic counts. Now, they may need a variety of different stations. So, they may want a map with manual stations on it or a map of manual stations and ATR stations or they may want a map of manual, ATR, and classification stations. So, the maps can have a variety of stations and not just one station. Please let me know if this still does not make any sense. I think the tab idea is a good one. Like one tab for the state and one tab for each district in the state. Then on each tab there would be a checkbox for all the stations they have to choose from and then they can pick which stations they want on their map. I've also attached a word document of the tab idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 13:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/checkbox-and-radio-button-programming-on-gui/m-p/224281#M5803</guid>
      <dc:creator>MichelleCouden1</dc:creator>
      <dc:date>2014-02-26T13:47:21Z</dc:date>
    </item>
  </channel>
</rss>

