<?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: Addin combobox reset in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252737#M6498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am using the addin combo box which inherited the combo, how can i gain access to it's selectedindex property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 14:06:00 GMT</pubDate>
    <dc:creator>MichaelStranovsky</dc:creator>
    <dc:date>2015-08-14T14:06:00Z</dc:date>
    <item>
      <title>Addin combobox reset</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252735#M6496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an addin with a toolbar that contains two comboboxes.&amp;nbsp; Does anyone know how to reset the combobox when a selection is made from the other one.&amp;nbsp;&amp;nbsp; For instance, i select an item in combobox1.&amp;nbsp; The selected item is now showing in combobox1.&amp;nbsp; I now select an item in combobox2.&amp;nbsp; The selected item in combobox2 is now showing, but combobox1 also still shows its previous selected item.&amp;nbsp; I would like combobox1 to reset to the initial state when i select an item from combobox2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Initial Toolbar State:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="InitialState.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/121347_InitialState.jpg" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After Landscape has been selected:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="LandscapeState.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/121348_LandscapeState.jpg" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After Portrait has been selected, i want the landscape11x17 to go back to the initial state:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="LandscapePortraitState.jpg" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/121424_LandscapePortraitState.jpg" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;As you can see it is not.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 14:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252735#M6496</guid>
      <dc:creator>MichaelStranovsky</dc:creator>
      <dc:date>2015-08-06T14:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Addin combobox reset</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252736#M6497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if Landscape is the first option in your combobox, then you can reset it using comboBox1.selectedIndex = 0 &lt;/P&gt;&lt;P&gt;If you do not want anything selected, then use comboBox1.selectedIndex = -1, with comboBox1 the instance name of your ComboBox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2015 22:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252736#M6497</guid>
      <dc:creator>RichardMoussopo</dc:creator>
      <dc:date>2015-08-08T22:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Addin combobox reset</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252737#M6498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am using the addin combo box which inherited the combo, how can i gain access to it's selectedindex property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 14:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252737#M6498</guid>
      <dc:creator>MichaelStranovsky</dc:creator>
      <dc:date>2015-08-14T14:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Addin combobox reset</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252738#M6499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find a small example of add-in combo box onselchange method at &lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/OnSelChange_Method/001v000001s1000000/" title="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/OnSelChange_Method/001v000001s1000000/"&gt;http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/OnSelChange_Method/001v000001s1000000/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 14:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/addin-combobox-reset/m-p/252738#M6499</guid>
      <dc:creator>YuanLiu</dc:creator>
      <dc:date>2015-08-14T14:43:16Z</dc:date>
    </item>
  </channel>
</rss>

