Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Events handle from VFP to MapPoint
Message
From
26/02/2003 04:35:18
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00757424
Message ID:
00757967
Views:
6
Garrett
In the first case I did not put mappoint into VFP form, I only created Mappoint object and it was opened in separate window,(it own window)
It is exactly like we do cr=createobject('excel.application')
or cr=createobject('word.application')
For these two options we can hang events in the word or excel with VFP , called it with eventhandle function
I was tried to do same with mappoint, and failed
I neeed it, because user can do something in the map in mappint ( select some pin , put new pin) and I liked to know this fact in VFP
In the second choice, when we put mappoint active x into VFP form, we can do it, -to catch events , but my user does not like it
He likes to have VFP window, create MapPoint from it like seperate application and do something in MapPonit, and VFP shuld records his action into some cursor
So, I need first variant. cr=createobject('mappoint.application') workds OK
but I failed to catch events with eventhandle function, which worked good for Word or Excel variants
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform