I have been trying to find out how to get the following MapPoint ActiveX properites to work with VFP6
I can get MapPoint to open and I can get the appropriate data set working with it, but I need to set up the map object to appear in the user's desired manner.
So far, I have:
oMap=CREATEOBJECT('mappoint.application')
oMap.application.ActiveMap.DataSets.ImportData(<my data>)
oMap.Visible= .T.
and it all works fine to this point.
However I still need to figure out how/where to get the following properties set:
DataMapType = 1 && Shaded Area Map
DataRangeType = 3 && Equal Distinct Ranges
DataRanges.Count = 8 && 8 Value Ranges
ColorScheme = 15 && Full Spectrum Color Set
My attempts to date have all ended up with an error message.
I either am attempting to assign the property and its value to an in-correct "parent" object or, in some other manner, am not doing it right.
If you have any suggestions, they would be most appreciated.
Thanks,
JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
I can get MapPoint to open and I can get the appropriate data set working with it, but I need to set up the map object to appear in the user's desired manner.
So far, I have:
oMap=CREATEOBJECT('mappoint.application')
oMap.application.ActiveMap.DataSets.ImportData(<my data>)
oMap.Visible= .T.
and it all works fine to this point.
However I still need to figure out how/where to get the following properties set:
DataMapType = 1 && Shaded Area Map
DataRangeType = 3 && Equal Distinct Ranges
DataRanges.Count = 8 && 8 Value Ranges
ColorScheme = 15 && Full Spectrum Color Set
My attempts to date have all ended up with an error message.
I either am attempting to assign the property and its value to an in-correct "parent" object or, in some other manner, am not doing it right.
If you have any suggestions, they would be most appreciated.
Thanks,
JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com