Lesson 4—Working with Maps and Layers
In this lesson, we created two ArcMap Tool Controls. Creat New Menu, then New UI Tool Control, then View Source.
Using the tool controls means that segments of code are programmed for different events. In out case, we programmed the cursor ID, the tool Enabled code, and the MouseUp code. We also wrote a few other procedures to facilitate the program.
Using module level variables required thinking about how the variable persists. It was necessary to make sure that the module level variable was set properly prior to enacting some code.
This lesson was not too difficult, though I still wish there was a reasonable OMD cheat sheet to see how interfaces are linked.