HOW TO

Create a new UIButtonControl

Last Published: April 25, 2020

Summary

Note: 
Support for Visual Basic for Applications (VBA) for ArcMap and ArcCatalog ended with the ArcGIS 10.2.2 release, and Esri has not included VBA compatibility setups since version 10.5. See: ArcGIS Desktop and VBA Moving Forward

Instructions provided describe the steps to create a new UIButtonControl in ArcMap.

Procedure

  1. Select Tools > Customize to open the Customize dialog box.
  2. Click the Commands tab.
  3. Select UIControls from the Categories list box.
  4. Select Untitled from the Save In dropdown list to save the button to this map document. Select Normal to save the button to all ArcMap documents on the machine.
  5. Click New UIControl.
  6. Select UIButtonControl and Create.
  7. Drag the new UIButtonControl to the toolbar of choice.
  8. Close the Customize dialog box.

Article ID:000012940

Software:
  • ArcMap 8 x
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic