📄 main.frm
字号:
VERSION 5.00
Object = "{E760686B-BC9E-4802-9ECF-175FDF4062CE}#5.0#0"; "MAPX50.DLL"
Begin VB.Form Main
Caption = "数据绑定示例"
ClientHeight = 5955
ClientLeft = 1140
ClientTop = 1470
ClientWidth = 7320
LinkTopic = "Form1"
PaletteMode = 1 'UseZOrder
ScaleHeight = 5955
ScaleWidth = 7320
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 120
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 6000
Width = 3975
End
Begin VB.CommandButton Command4
Caption = "绑定Layer数据集"
Height = 375
Left = 5520
TabIndex = 4
Top = 120
Width = 1695
End
Begin VB.CommandButton Command3
Caption = "绑定Array数据集"
Height = 375
Left = 3720
TabIndex = 3
Top = 120
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "绑定DAO数据集"
Height = 375
Left = 1920
TabIndex = 2
Top = 120
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "绑定ADO数据集"
Height = 375
Left = 120
TabIndex = 1
Top = 120
Width = 1695
End
Begin MapXLib.Map Map1
Height = 5295
Left = 0
TabIndex = 0
Top = 600
Width = 7215
_Version = 500012
_ExtentX = 12726
_ExtentY = 9340
_StockProps = 1
MapCatalog.GeoDictionary= "GeoDictionary"
GeoSet = "Australia"
GeoSetUserName = "Australia"
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 = 2405
Title.Y = 353
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
Map.Layers.Layer1.HasFileSpec= -1 'True
Map.Layers.Layer1.Skip= 0 'False
Map.Layers.Layer1.Path= "aucty417.tab"
Map.Layers.Layer1.Name= "Australia Major Cities"
Map.Layers.Layer1.Visible= -1 'True
Map.Layers.Layer1.Selectable= -1 'True
Map.Layers.Layer1.Editable= 0 'False
Map.Layers.Layer1.ShowNodes= 0 'False
Map.Layers.Layer1.ShowCentroids= 0 'False
Map.Layers.Layer1.ShowLineDirection= 0 'False
Map.Layers.Layer1.AutoLabel= -1 'True
Map.Layers.Layer1.DrawLabelsAfter= 0 'False
Map.Layers.Layer1.ZoomLayering= -1 'True
Map.Layers.Layer1.ZoomMin= 300
Map.Layers.Layer1.ZoomMax= 750
Map.Layers.Layer1.DoOverrideStyle= 0 'False
Map.Layers.Layer1.LabelProperties.LabelMax= 100
Map.Layers.Layer1.LabelProperties.Overlap= 0 'False
Map.Layers.Layer1.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer1.LabelProperties.Offset= 2
Map.Layers.Layer1.LabelProperties.LineType= 2
Map.Layers.Layer1.LabelProperties.Zoom= 0 'False
Map.Layers.Layer1.LabelProperties.ZoomMin= 0
Map.Layers.Layer1.LabelProperties.ZoomMax= 10000
Map.Layers.Layer1.LabelProperties.Visible= -1 'True
Map.Layers.Layer1.LabelProperties.Position= 5
Map.Layers.Layer1.LabelProperties.Parallel= -1 'True
Map.Layers.Layer1.LabelProperties.LabelAlong= 1
Map.Layers.Layer1.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer1.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer1.LabelProperties.Style.TextFontHalo= -1 'True
Map.Layers.Layer1.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer1.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer1.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.Layer1.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer1.LabelProperties.Style.LineWidth= 1
Map.Layers.Layer2.HasFileSpec= -1 'True
Map.Layers.Layer2.Skip= 0 'False
Map.Layers.Layer2.Path= "aucty_4k.tab"
Map.Layers.Layer2.Name= "Australia Cities"
Map.Layers.Layer2.Visible= -1 'True
Map.Layers.Layer2.Selectable= -1 'True
Map.Layers.Layer2.Editable= 0 'False
Map.Layers.Layer2.ShowNodes= 0 'False
Map.Layers.Layer2.ShowCentroids= 0 'False
Map.Layers.Layer2.ShowLineDirection= 0 'False
Map.Layers.Layer2.AutoLabel= -1 'True
Map.Layers.Layer2.DrawLabelsAfter= 0 'False
Map.Layers.Layer2.ZoomLayering= -1 'True
Map.Layers.Layer2.ZoomMin= 0
Map.Layers.Layer2.ZoomMax= 300
Map.Layers.Layer2.DoOverrideStyle= 0 'False
Map.Layers.Layer2.LabelProperties.LabelMax= 100
Map.Layers.Layer2.LabelProperties.Overlap= 0 'False
Map.Layers.Layer2.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer2.LabelProperties.Offset= 2
Map.Layers.Layer2.LabelProperties.LineType= 2
Map.Layers.Layer2.LabelProperties.Zoom= 0 'False
Map.Layers.Layer2.LabelProperties.ZoomMin= 0
Map.Layers.Layer2.LabelProperties.ZoomMax= 10000
Map.Layers.Layer2.LabelProperties.Visible= -1 'True
Map.Layers.Layer2.LabelProperties.Position= 5
Map.Layers.Layer2.LabelProperties.Parallel= -1 'True
Map.Layers.Layer2.LabelProperties.LabelAlong= 1
Map.Layers.Layer2.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer2.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer2.LabelProperties.Style.TextFontHalo= -1 'True
Map.Layers.Layer2.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer2.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -