Pitney Bowes MapXtreme User Manual

Page 131

Advertising
background image

Chapter 7: Desktop Applications, Controls, Dialogs, and Tools

Key Controls to Use in Desktop Applications

MapXtreme v7.1

131

Developer Guide

To add tool buttons to the MapToolBar:

1. Open the ToolBarButton Collection Editor by clicking on the ellipsis (...) next to the Buttons

property in the Properties window.

The ToolBarButton Collection Editor appears.

2. Click the Add button.

This creates a new MapToolBarButton below the last one in the list.

L

If you would like to add a customized tool you need to click on the arrow next to the Add
button and choose ToolBarButton. You need to write a customized handler for the new
button.

3. Name the new button.

4. Select the ButtonType from the right-hand pull-down menu.

For example, if you are adding a Select tool button, choose Select from the list.

Advertising