I never did this myself, but you can use a transparent container, and put it on top of your map. The shape is added to this container.
>Hi folks:
>
>I am using this code to place a shape on a map.
>
>
> Thisform.AddObject( Sys(2015), "shape")
> With Thisform.Controls[thisform.ControlCount]
> .Move(XX,YY,7,7)
> .Curvature = 99
> .BackColor = 255
> .BackStyle = 1
> .BorderWidth = 0
> .BorderColor = 65535
> .SpecialEffect = 0
> .ToolTipText = "Selected location"
> .Visible = .T.
> Endwith
>
>
>Is there programatic way to remove the shape without leaving a trace that the mark was there, or is this just my Thanks Giving turkey?