majgis

Custom GP Tool Control (ControlCLSID)

Discussion created by majgis on Apr 9, 2010
I'm building off this example:
http://forums.esri.com/Thread.asp?c=93&f=993&t=293933&mc=2

I've made my own control, and everything works, but the Apply method is only called when the ok button is pressed on the main geoprocessing tool's form. 

I'm using a combobox and have found many of the events are not firing.  For example Leave and Validated don't  occur, but TextChanged and SelectedIndexChanged do work.  Why is a subset of events available, and is there documentation that lists this subset?

How do I call the Apply method when the combobox loses focus, like all of ArcGIS's default controls? I want users to be able to type in the combobox without firing an event for every keystroke to update the editor.

Outcomes