📄 module2.bas
字号:
Attribute VB_Name = "Module2"
Public EditLayer As MapXLib.Layer, EditLayerName As String
Public Feature1 As New MapXLib.Feature, Feature2 As New MapXLib.Feature, FeatureN As New MapXLib.Feature
Public Sub ChangeCombo()
Dim lyr As MapXLib.Layer
Dim I As Integer, TmpStr As String
I = 0
For Each lyr In frmD.Map1.Layers
I = I + 1
TmpStr = frmD.Map1.Layers.Item(I).Name
If (frmD.Map1.Layers(TmpStr).Editable = True) Then
Set EditLayer = lyr
Exit For
End If
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -