Hi,
I have a strange behavior about a Layer position.
Example: I create a TIEPolylineLayer, a cross:
    with ImageEnView do
      begin
        vCrossSize:= 50;
        LayersAdd(ielkPolyline);
        TIEPolylineLayer(CurrentLayer).ClearAllPoints;
        TIEPolylineLayer(CurrentLayer).AddPoint(0, Round(vCrossSize / 2), iepbBitmap);
        TIEPolylineLayer(CurrentLayer).AddPoint(Round(vCrossSize / 2), Round(vCrossSize / 2), iepbBitmap);
        TIEPolylineLayer(CurrentLayer).AddPoint(Round(vCrossSize / 2), 0, iepbBitmap);
        TIEPolylineLayer(CurrentLayer).AddPoint(Round(vCrossSize / 2), Round(vCrossSize / 2), iepbBitmap);
        TIEPolylineLayer(CurrentLayer).AddPoint(vCrossSize, Round(vCrossSize / 2), iepbBitmap);
        TIEPolylineLayer(CurrentLayer).AddPoint(Round(vCrossSize / 2), Round(vCrossSize / 2), iepbBitmap);
        TIEPolylineLayer(CurrentLayer).AddPoint(Round(vCrossSize / 2), vCrossSize, iepbBitmap);
        CurrentLayer.PosX:= 40;
        CurrentLayer.PosY:= 40;
        Update;
      end;
The result is a cross, but positioned at X=40, Y=15
If I run Update method first and after I set position, like this:
        ...
        Update;
        CurrentLayer.PosX:= 40;
        CurrentLayer.PosY:= 40;
My layer is positioned correctly.
I am doing something wrong or it's a normal behavior?
Thanks
Claudio