Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Delete map surrounds by Del button ?!!

$
0
0
Hi all
My question sounds simple but i couldn't find a working solution for it.
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.
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.

Any idea?

Best Regards

Viewing all articles
Browse latest Browse all 1374

Trending Articles