📄 findmapform.frm
字号:
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer7.OverrideStyle.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.Layer7.OverrideStyle.LineStyle= 1
Map.Layers.Layer7.OverrideStyle.LineWidth= 1
Map.Layers.Layer7.OverrideStyle.RegionColor= 16777215
Map.Layers.Layer7.OverrideStyle.RegionBackColor= 16777215
Map.Layers.Layer7.OverrideStyle.RegionBorderColor= 8421504
Map.Layers.Layer7.OverrideStyle.RegionBorderStyle= 1
Map.Layers.Layer7.OverrideStyle.RegionBorderWidth= 1
Map.Layers.Layer7.LabelProperties.LabelMax= 100
Map.Layers.Layer7.LabelProperties.Overlap= 0 'False
Map.Layers.Layer7.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer7.LabelProperties.Offset= 2
Map.Layers.Layer7.LabelProperties.LineType= 0
Map.Layers.Layer7.LabelProperties.Zoom= -1 'True
Map.Layers.Layer7.LabelProperties.ZoomMin= 0
Map.Layers.Layer7.LabelProperties.ZoomMax= 150
Map.Layers.Layer7.LabelProperties.Visible= -1 'True
Map.Layers.Layer7.LabelProperties.Position= 0
Map.Layers.Layer7.LabelProperties.Parellel= -1 'True
Map.Layers.Layer7.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer7.LabelProperties.Style.TextFontColor= 8421504
Map.Layers.Layer7.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer7.LabelProperties.Style.TextFontHalo= -1 'True
Map.Layers.Layer7.LabelProperties.Style.TextFontAllCaps= -1 'True
Map.Layers.Layer7.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer7.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 6
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer7.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.Layer7.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer7.LabelProperties.Style.LineWidth= 1
Map.Layers.Layer8.HasFileSpec= -1 'True
Map.Layers.Layer8.Skip= 0 'False
Map.Layers.Layer8.Path= "usa.TAB"
Map.Layers.Layer8.Name= "USA"
Map.Layers.Layer8.Visible= -1 'True
Map.Layers.Layer8.Selectable= -1 'True
Map.Layers.Layer8.Editable= 0 'False
Map.Layers.Layer8.ShowNodes= 0 'False
Map.Layers.Layer8.ShowCentroids= 0 'False
Map.Layers.Layer8.ShowLineDirection= 0 'False
Map.Layers.Layer8.AutoLabel= 0 'False
Map.Layers.Layer8.DrawLabelsAfter= 0 'False
Map.Layers.Layer8.ZoomLayering= 0 'False
Map.Layers.Layer8.ZoomMin= 0
Map.Layers.Layer8.ZoomMax= 0
Map.Layers.Layer8.DoOverrideStyle= 0 'False
Map.Layers.Layer8.LabelProperties.LabelMax= 100
Map.Layers.Layer8.LabelProperties.Overlap= 0 'False
Map.Layers.Layer8.LabelProperties.Duplicate= 0 'False
Map.Layers.Layer8.LabelProperties.Offset= 2
Map.Layers.Layer8.LabelProperties.LineType= 0
Map.Layers.Layer8.LabelProperties.Zoom= -1 'True
Map.Layers.Layer8.LabelProperties.ZoomMin= 400
Map.Layers.Layer8.LabelProperties.ZoomMax= 3500.5
Map.Layers.Layer8.LabelProperties.Visible= -1 'True
Map.Layers.Layer8.LabelProperties.Position= 0
Map.Layers.Layer8.LabelProperties.Parellel= -1 'True
Map.Layers.Layer8.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer8.LabelProperties.Style.TextFontColor= 128
Map.Layers.Layer8.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer8.LabelProperties.Style.TextFontHalo= -1 'True
Map.Layers.Layer8.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer8.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer8.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.Layer8.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer8.LabelProperties.Style.LineWidth= 1
Map.Layers.Layer9.HasFileSpec= -1 'True
Map.Layers.Layer9.Skip= 0 'False
Map.Layers.Layer9.Path= "ocean_ll.TAB"
Map.Layers.Layer9.Name= "Ocean (Lat/ Long)"
Map.Layers.Layer9.Visible= -1 'True
Map.Layers.Layer9.Selectable= 0 'False
Map.Layers.Layer9.Editable= 0 'False
Map.Layers.Layer9.ShowNodes= 0 'False
Map.Layers.Layer9.ShowCentroids= 0 'False
Map.Layers.Layer9.ShowLineDirection= 0 'False
Map.Layers.Layer9.AutoLabel= 0 'False
Map.Layers.Layer9.DrawLabelsAfter= 0 'False
Map.Layers.Layer9.ZoomLayering= 0 'False
Map.Layers.Layer9.ZoomMin= 0
Map.Layers.Layer9.ZoomMax= 0
Map.Layers.Layer9.DoOverrideStyle= 0 'False
Map.Layers.Layer9.LabelProperties.LabelMax= 100
Map.Layers.Layer9.LabelProperties.Overlap= 0 'False
Map.Layers.Layer9.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer9.LabelProperties.Offset= 2
Map.Layers.Layer9.LabelProperties.LineType= 0
Map.Layers.Layer9.LabelProperties.Zoom= -1 'True
Map.Layers.Layer9.LabelProperties.ZoomMin= 0
Map.Layers.Layer9.LabelProperties.ZoomMax= 10000
Map.Layers.Layer9.LabelProperties.Visible= -1 'True
Map.Layers.Layer9.LabelProperties.Position= 0
Map.Layers.Layer9.LabelProperties.Parellel= -1 'True
Map.Layers.Layer9.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer9.LabelProperties.Style.TextFontBackColor= 16777215
Map.Layers.Layer9.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer9.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer9.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.Layer9.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer9.LabelProperties.Style.LineWidth= 1
Map.NumericCoordSys.ProjectionInfo= "FindMapForm.frx":0000
Map.DisplayCoordSys.ProjectionInfo= "FindMapForm.frx":0130
Map.Zoom = 3500
Map.CenterX = -95.6166331741086
Map.CenterY = 38.255861406031
FeatureEditMode = 1
End
Begin VB.Menu fileMenuItem
Caption = "File"
Begin VB.Menu exitMenuItem
Caption = "Exit"
End
End
Begin VB.Menu toolsMenuItem
Caption = "Tools"
Begin VB.Menu zoomInToolMenuItem
Caption = "Zoom In"
End
Begin VB.Menu zoomOutToolMenuItem
Caption = "Zoom Out"
End
Begin VB.Menu panToolMenuItem
Caption = "Pan"
End
End
Begin VB.Menu layersMenuItem
Caption = "Layers"
Begin VB.Menu findMeniItem
Caption = "Find"
End
Begin VB.Menu layerControlMenuItem
Caption = "Layer Control"
End
Begin VB.Menu layer2datasetMenuItem
Caption = "Make layer dataset"
End
End
End
Attribute VB_Name = "FindMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
' 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.
Public FindDialogLoaded As Boolean
Private Sub exitMenuItem_Click()
End
End Sub
Private Sub findMeniItem_Click()
'set flag that find dialog loaded at least once
FindDialogLoaded = True
'display find dialog modally
findDlg.Show vbModal, Me
End Sub
Private Sub Form_Load()
'set flag to be false initially
FindDialogLoaded = False
End Sub
Private Sub Form_Unload(Cancel As Integer)
'if the find dialog was loaded, unload it before exiting
If FindDialogLoaded Then
Unload findDlg
End If
End Sub
Private Sub layer2datasetMenuItem_Click()
'display dataset form modally
layer2datasetForm.Show vbModal, Me
End Sub
Private Sub layerControlMenuItem_Click()
'display MapX Stock layer control dialog
Map1.Layers.LayersDlg
End Sub
Private Sub panToolMenuItem_Click()
'set pan tool as active tool
Map1.CurrentTool = miPanTool
End Sub
Private Sub zoomInToolMenuItem_Click()
'set zoom in tool as active tool
Map1.CurrentTool = miZoomInTool
End Sub
Private Sub zoomOutToolMenuItem_Click()
'set zoom out tool as active tool
Map1.CurrentTool = miZoomOutTool
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -