Hi,<br><br>I try to register activate and deactivate event on a control but it's doesn't work :<br><br>polygonControl = new OpenLayers.Control.DrawFeature(layer,OpenLayers.Handler.RegularPolygon,{handlerOptions:polyOptions});<br>
<br>polygonControl.events.register("activate", polygonControl, function(){alert("activate!");});<br><br>I have no alert.<br><br>Thanks for help.<br><br>Jim<br>