Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ESRI MAP Objects problem
Message
From
05/05/2004 14:51:01
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
05/05/2004 13:06:30
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00901215
Message ID:
00901299
Views:
43
Edmundo,

I looked into my MouseDown event code for the MapObjects ActiveX control and found that I am "refreshing" the map by setting it's extent to it's existing extent as follows:
* Repaint the map
oMap.extent = oMap.extent
I didn't check into it, but, I suspect that setting this property implicitly calls the AftertrackinglayerDraw event.

See if that works for you.

Mike


>Mike:
>
>Thank you for your answer. I include debugging messages and drawing routines in the AFTERTRACKINGLAYERDRAW event but only executes after the form it's activated, for example, if i turn to other application and then to foxpro, thus making my form active.
>
>My development platform it's VFP8SP1, WIN2000P and MAPOBJECTS2.2.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform