<?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: Delete map surrounds by Del button ?!! in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/delete-map-surrounds-by-del-button/m-p/181489#M4712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure about the page layout control, but certain keys do not fire the key up and key down events in Windows forms.&amp;nbsp; These keys usually fire the key press event.&amp;nbsp; Try the events exposed by the form that houses your control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2014 12:23:28 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2014-04-28T12:23:28Z</dc:date>
    <item>
      <title>Delete map surrounds by Del button ?!!</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/delete-map-surrounds-by-del-button/m-p/181488#M4711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question sounds simple but i couldn't find a working solution for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is PageLayoutControl and some tools for adding north arrow, scalebar, ... to this layout. There is also an ordinary select tool (esriControls.ControlsSelectTool) which allows for selecting elements and resizing and moving them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, i wanna allow user to delete selected elements by pressing Del button. I know how to access selected elements and then deleting them but i don't know where to place that code. In PageLayoutControl_OnKeyUp or PageLayoutControl_OnKeyDown? none of them works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Apr 2014 20:00:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/delete-map-surrounds-by-del-button/m-p/181488#M4711</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2014-04-26T20:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete map surrounds by Del button ?!!</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/delete-map-surrounds-by-del-button/m-p/181489#M4712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure about the page layout control, but certain keys do not fire the key up and key down events in Windows forms.&amp;nbsp; These keys usually fire the key press event.&amp;nbsp; Try the events exposed by the form that houses your control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 12:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/delete-map-surrounds-by-del-button/m-p/181489#M4712</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2014-04-28T12:23:28Z</dc:date>
    </item>
  </channel>
</rss>

