📄 main.frm
字号:
VERSION 5.00
Object = "{E760686B-BC9E-4802-9ECF-175FDF4062CE}#5.0#0"; "MAPX50.DLL"
Begin VB.Form Main
Caption = "MapX专题图示例"
ClientHeight = 5925
ClientLeft = 1140
ClientTop = 1470
ClientWidth = 8730
LinkTopic = "Form1"
PaletteMode = 1 'UseZOrder
ScaleHeight = 5925
ScaleWidth = 8730
Begin VB.Frame Frame1
Caption = "专题图设置"
Height = 5535
Left = 6360
TabIndex = 6
Top = 360
Width = 2295
Begin VB.ListBox MultiFieldList
Height = 1740
Left = 120
Style = 1 'Checkbox
TabIndex = 17
Top = 1800
Width = 2055
End
Begin VB.ListBox SingleFieldList
Height = 1680
Left = 120
TabIndex = 16
Top = 1800
Width = 2055
End
Begin VB.CommandButton Command9
Caption = "清除所有专题图"
Height = 375
Left = 120
TabIndex = 14
Top = 5040
Width = 2055
End
Begin VB.CommandButton Command8
Caption = "添加当前专题图"
Height = 375
Left = 120
TabIndex = 13
Top = 4560
Width = 2055
End
Begin VB.CommandButton Command7
Caption = "图例属性设置"
Height = 375
Left = 120
TabIndex = 12
Top = 4080
Width = 2055
End
Begin VB.CommandButton Command6
Caption = "专题图属性设置"
Height = 375
Left = 120
TabIndex = 11
Top = 3600
Width = 2055
End
Begin VB.TextBox NameText
Height = 270
Left = 120
TabIndex = 10
Top = 1200
Width = 2055
End
Begin VB.ComboBox ThemeTypeCombo
Height = 300
Left = 120
Style = 2 'Dropdown List
TabIndex = 7
Top = 600
Width = 2055
End
Begin VB.Label Label2
Caption = "字段"
Height = 255
Left = 120
TabIndex = 15
Top = 1560
Width = 1095
End
Begin VB.Label Label3
Caption = "专题图名称"
Height = 255
Left = 120
TabIndex = 9
Top = 960
Width = 1095
End
Begin VB.Label Label1
Caption = "类型"
Height = 255
Left = 120
TabIndex = 8
Top = 360
Width = 1575
End
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = "C:\Program Files\MapInfo\MapX 5.0\data\Mapstats.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 4800
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "AUSTRALIA"
Top = 8040
Width = 3255
End
Begin VB.CommandButton Command5
Caption = "全图"
Height = 375
Left = 3380
TabIndex = 5
Top = 0
Width = 855
End
Begin MapXLib.Map Map1
Height = 5295
Left = 120
TabIndex = 4
Top = 480
Width = 6135
_Version = 500012
_ExtentX = 10821
_ExtentY = 9340
_StockProps = 1
MapCatalog.GeoDictionary= "GeoDictionary"
GeoSet = "Australia"
GeoSetUserName = "Australia"
DataSetTheme = 5
DefaultStyle.TextFontBackColor= 16777215
DefaultStyle.SupportsBitmapSymbols= -1 'True
DefaultStyle.SymbolChar= 55
DefaultStyle.SymbolFontBackColor= 16777215
BeginProperty DefaultStyle.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty DefaultStyle.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Map Symbols"
Size = 14.25
Charset = 2
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DefaultStyle.LineStyle= 1
DefaultStyle.LineWidth= 1
DefaultStyle.RegionColor= 16777215
DefaultStyle.LinePattern= 2
DefaultStyle.RegionBackColor= 16777215
DefaultStyle.RegionBorderStyle= 1
DefaultStyle.RegionBorderWidth= 1
Title.Visible = -1 'True
Title.Style.TextFontBackColor= 16777215
Title.Style.TextFontOpaque= -1 'True
Title.Style.SymbolChar= 0
BeginProperty Title.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 23.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Title.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 23.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Title.X = 2045
Title.Y = 351
Map.Layers.Count= 6
Map.Layers.Layer0.HasFileSpec= -1 'True
Map.Layers.Layer0.Skip= 0 'False
Map.Layers.Layer0.Path= "austcaps.tab"
Map.Layers.Layer0.Name= "Australia Capitals"
Map.Layers.Layer0.Visible= -1 'True
Map.Layers.Layer0.Selectable= -1 'True
Map.Layers.Layer0.Editable= 0 'False
Map.Layers.Layer0.ShowNodes= 0 'False
Map.Layers.Layer0.ShowCentroids= 0 'False
Map.Layers.Layer0.ShowLineDirection= 0 'False
Map.Layers.Layer0.AutoLabel= -1 'True
Map.Layers.Layer0.DrawLabelsAfter= 0 'False
Map.Layers.Layer0.ZoomLayering= -1 'True
Map.Layers.Layer0.ZoomMin= 750
Map.Layers.Layer0.ZoomMax= 3850.5
Map.Layers.Layer0.DoOverrideStyle= 0 'False
Map.Layers.Layer0.LabelProperties.LabelMax= 100
Map.Layers.Layer0.LabelProperties.Overlap= 0 'False
Map.Layers.Layer0.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer0.LabelProperties.Offset= 2
Map.Layers.Layer0.LabelProperties.LineType= 2
Map.Layers.Layer0.LabelProperties.Zoom= 0 'False
Map.Layers.Layer0.LabelProperties.ZoomMin= 0
Map.Layers.Layer0.LabelProperties.ZoomMax= 10000
Map.Layers.Layer0.LabelProperties.Visible= -1 'True
Map.Layers.Layer0.LabelProperties.Position= 5
Map.Layers.Layer0.LabelProperties.Parallel= -1 'True
Map.Layers.Layer0.LabelProperties.LabelAlong= 1
Map.Layers.Layer0.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer0.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer0.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer0.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer0.LabelProperties.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Map.Layers.Layer0.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer0.LabelProperties.Style.LineWidth= 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -