Hello people,
Can anyone say why I always get type 1 returned with in this doubleclick event...I am trying to draw a freeform on the map and then catch it as
such with the event...the type should be 5 (freeform)..but is always 1
thanks..
PrivateSub AxMappointControl1_BeforeDblClick1(ByVal sender AsObject, ByVal e As AxMapPoint._IMappointCtrlEvents_BeforeDblClickEven t) Handles AxMappointControl1.BeforeDblClick
Dim omap As MapPoint.Map
omap = AxMappointControl1.ActiveMap
MsgBox("The type of this shape is: " _
+ CStr(omap.Shapes.Item(1).Type))
If omap.Selection IsNothingThen
Stop
EndIf
EndSub