OpenLayers Wrapper: How to "autoselect"

Hey guys…

I’m working on a little application where the coordinates of a place can be determined by dragging a PointVector on an OpenStreetMap. Everything works fine, but I always have to select a vector before I can drag it.

In my VectorSelectedListener, the DrawindMode of the VectorLayer is set to DrawingMode.MODIFY and the vector can be dragged when it’s selected. The question is, can i “auto-select” the vector when the map is shown? I’ve tried vectorLayer.setSelectedVector(vector), and the debugger shows that on the vectorLayer the selectedVector is set as my vector. But it doesn’t seem to change anything - the vector still gets “select-repainted” and can be dragged only after it’s clicked.

Thanks in advance,