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.