⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lookall.frm

📁 vb+mapx小型地图系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form lookall 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "查看图层"
   ClientHeight    =   1365
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3540
   Icon            =   "lookall.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1365
   ScaleWidth      =   3540
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.ComboBox Combo1 
      Height          =   300
      Left            =   360
      TabIndex        =   0
      Text            =   "Combo1"
      Top             =   480
      Width           =   2775
   End
End
Attribute VB_Name = "lookall"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Combo1_Click()
 Dim i As Integer
 i = Combo1.ListIndex
If mainform.Map1.Layers(i).Name = "省级行政中心" Then

Exit Sub
Else
 
 mainform.Map1.Bounds = mainform.Map1.Layers(i).Bounds
  End If

End Sub

Private Sub Form_Load()
Combo1.Clear

 For Each look_lyr In mainform.Map1.Layers
            Combo1.AddItem look_lyr.Name
            Next
            
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -