<?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 Can you cycle through selected features in Attribute Editing window? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/can-you-cycle-through-selected-features-in/m-p/428960#M11602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Howdy All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; My hopefully pretty simple question is: Can you programmatically cycle through the selected features in the Attribute Editor windows?&amp;nbsp; I'm referring to the tree in the top panel.&amp;nbsp; I am trying to create an Add-in the has a couple of buttons on it that will cycle through the selected features&amp;nbsp; and display some things, along with allowing the user to use the attribute editor to change some of the attributes...&amp;nbsp; Hopefully it can be done without having to clear or change the selected set of features.&amp;nbsp; I know that you can "click" them individually, but I am trying to use the buttons on my form to move through the set...&amp;nbsp; What I'm trying to get at is when you use the button, the highlighted item will move to the next one and the attributes listed below will change to the new feature. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have an array of objectIDs within the form's code, if that helps any....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is a picture of where I'm talking about...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/attachment.php?attachmentid=10640&amp;amp;stc=1&amp;amp;d=1323868223"&gt;&lt;IMG src="http://forums.arcgis.com/attachment.php?attachmentid=10640&amp;amp;stc=1&amp;amp;d=1323868223" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Kevin Orcutt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 11:14:55 GMT</pubDate>
    <dc:creator>KevinOrcutt</dc:creator>
    <dc:date>2011-12-14T11:14:55Z</dc:date>
    <item>
      <title>Can you cycle through selected features in Attribute Editing window?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/can-you-cycle-through-selected-features-in/m-p/428960#M11602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Howdy All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; My hopefully pretty simple question is: Can you programmatically cycle through the selected features in the Attribute Editor windows?&amp;nbsp; I'm referring to the tree in the top panel.&amp;nbsp; I am trying to create an Add-in the has a couple of buttons on it that will cycle through the selected features&amp;nbsp; and display some things, along with allowing the user to use the attribute editor to change some of the attributes...&amp;nbsp; Hopefully it can be done without having to clear or change the selected set of features.&amp;nbsp; I know that you can "click" them individually, but I am trying to use the buttons on my form to move through the set...&amp;nbsp; What I'm trying to get at is when you use the button, the highlighted item will move to the next one and the attributes listed below will change to the new feature. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have an array of objectIDs within the form's code, if that helps any....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is a picture of where I'm talking about...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/attachment.php?attachmentid=10640&amp;amp;stc=1&amp;amp;d=1323868223"&gt;&lt;IMG src="http://forums.arcgis.com/attachment.php?attachmentid=10640&amp;amp;stc=1&amp;amp;d=1323868223" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Kevin Orcutt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 11:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/can-you-cycle-through-selected-features-in/m-p/428960#M11602</guid>
      <dc:creator>KevinOrcutt</dc:creator>
      <dc:date>2011-12-14T11:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you cycle through selected features in Attribute Editing window?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/can-you-cycle-through-selected-features-in/m-p/428961#M11603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First off the attribute window is not customizable. But you can cycle through selected items using IEditor. The selected items that appear in the attribute window should be the same items that are selected on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (app == null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.esriSystem.UID uid = new ESRI.ArcGIS.esriSystem.UIDClass();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid.Value = "{F8842F20-BB23-11D0-802B-0000F8037368}";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.esriSystem.IExtension extension = app.FindExtensionByCLSID(uid);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IEditor3 editor3 = extension as IEditor3;


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IEnumFeature enumFeat = editor3.EditSelection;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IFeature feat = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((feat = enumFeat.Next()) != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //do something
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/can-you-cycle-through-selected-features-in/m-p/428961#M11603</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2021-12-11T19:17:58Z</dc:date>
    </item>
  </channel>
</rss>

