📄 readme.rtf
字号:
Sales manager's tool MapX demo
Note: This sample application and corresponding sample code is provided for example purposes only. It has not undergone rigorous testing and as such should not be shipped as part of a final application without extensive testing on the part of the organization releasing the end-user product.
Prerequisites:
Before running this application please install the following:
The latest MapX OCX Control
The following controls can be installed by selecting ActiveX option during Visual Studio 6.0 installation:
COMCTL32.OCX
COMDLG32.OCX
DBGRID32.OCX
This program also requires JET IISAM driver, so install them by selecting Data Access -> Jet IISAM Driver during Visual Studio 6.0 installation.
Sales manager's tool MapX demo is a Visual Basic application which shows how the users can improve the quality of business analysis using MapInfo MapX. The application demonstrates MapX's thematic shading ability and visual analysis of business data and using custom mapping tools.
The Main form of the application contains the following controls:
Sales territory analysis map - MapX OCX map with US map, titled "Sales territory".
Toolbar containing buttons to control the map. Tool bar has the following buttons:
arrow - move/resize annotations, legends, title
grabber - pan the map
zoom in - zoom in to specified view
zoom out - zoom out to specified view
center - click on the map at the position which is desired to be the center of the map
annotation (text icon) - tool to add the annotation to the map
info - tool to query the region for attributive data such as name, sales representative,
population and sales revenue
select - highlights an individual map feature
rectangle select - highlights map features within selection rectangle
radius select - highlights map features within selection radius
select all - highlights all map features
Label all states check box - used to label the states with their names.
Database grid with sales results data.
"Sales representative" check box - when checked, shades the states with individual value of sales person's name.
"Revenue" check box - when checked, shows the pie chart theme based on sales revenue.
"Demographic" check box - when checked, shows the bar chart theme based on states' population.
"Modify theme" button - display "Modify theme" dialog. If there are themes, user may adjust them using "Modify" and "Legend" buttons.
"Info" frame contains information about region specified with info tool (see tool bar description).
"Filter records by map selection" check box - when checked, grid displays only records corresponding to currently selected regions on the map (see tool bar description, selection tools).
"Sales total" - shows total sales amount for the states which are shown in sales database grid.
"Assign sales representative" - if there is selection, displays AssignRepres form in which the user can specify the sales representative for selected area.
"Print Map" button - used to print the map.
"Close" button - used to terminate the application.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -