Hi, I&#39;m trying to edit Vector layers and I  want to combine the ModifyFeature control with a SelectControl with highlight capabilities.<div>So I  modified the example <a href="http://dev.openlayers.org/releases/OpenLayers-2.11/examples/modify-feature.html" target="_blank">http://dev.openlayers.org/releases/OpenLayers-2.11/examples/modify-feature.html</a> to do so with this snippet</div>


<div><br></div><div><div><i>   var highlightCtrl = new OpenLayers.Control.SelectFeature(vectors, {</i></div><div><i>                hover: true,</i></div><div><i>                highlightOnly: true,</i></div><div><i>                renderIntent: &quot;temporary&quot;});            </i></div>


<div><i><br></i></div><div><i><span style="white-space:pre-wrap">        </span>    map.addControl(highlightCtrl);</i></div><div><i><span style="white-space:pre-wrap">        </span>    highlightCtrl.activate();</i></div>
</div><div><i><br></i></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">The problem is when the ModifyFeatureCo</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">ntrol is active and I select a feature, if I move the mouse over another feature and then I go back to the first one it looses the &quot;select style&quot;.</span></div>
<div><font color="#222222" face="arial, sans-serif">How can I avoid such a behaviour?</font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Thanks</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Nacho</font></div>