How to create Textbox using addin for ArcGIS 10?

2067
1
09-03-2015 05:29 AM
M_DJohnson
Occasional Contributor

We have an addin toolbar with set of tools running for arcgis 10 and would like to add a new textbox. As per documentation it accept only combobox. Can any one guide us how to achieve this.

Tags (1)
0 Kudos
1 Reply
SamiEria
New Contributor III

You can simply drag and drop a textbox control from Visual Studio's default Toolbox onto a dockable window. You can then turn this dockable Window on/off.

1- Create an ArcMap Add-in project.

2- Add a button to your project

3- Add a dockable window to your project

4- Drag and drop a Textbox control from the Visual Studio Toolbox onto your dokable window

5- Add code to your button OnClick event to turn on the dockable window (make it visible). See below.

6_DockableWindow_Code.png

6_DockableWindow.png

0 Kudos