?? frmviewlayer.frm
字號:
VERSION 5.00
Begin VB.Form FrmViewLayer
BorderStyle = 1 'Fixed Single
Caption = "查看圖層"
ClientHeight = 645
ClientLeft = 45
ClientTop = 330
ClientWidth = 1845
Icon = "FrmViewLayer.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 645
ScaleWidth = 1845
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Command2
Caption = "取消"
Height = 255
Left = 960
TabIndex = 2
Top = 360
Width = 735
End
Begin VB.CommandButton Command1
Caption = "確定"
Height = 255
Left = 120
TabIndex = 1
Top = 360
Width = 735
End
Begin VB.ComboBox Combo1
Height = 300
Left = 0
Style = 2 'Dropdown List
TabIndex = 0
Top = 0
Width = 1815
End
End
Attribute VB_Name = "FrmViewLayer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Set FrmMain.MyMap.NumericCoordSys = FrmMain.MyMap.DisplayCoordSys
If Combo1.Text = "所有圖層" Then
Set FrmMain.MyMap.Bounds = FrmMain.MyMap.Layers.Bounds
Else
Set FrmMain.MyMap.Bounds = FrmMain.MyMap.Layers(Combo1.Text).Bounds
End If
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim TempLayer As MapXLib.Layer
Combo1.Clear
Combo1.AddItem "所有圖層"
For Each TempLayer In FrmMain.MyMap.Layers
Combo1.AddItem TempLayer.Name
Next
Combo1.ListIndex = 0
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -