📄 frmmain.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{257830F1-B11E-4360-A3B9-E2E9D72A50E3}#3.2#0"; "SuperMap.ocx"
Begin VB.Form frmMain
BorderStyle = 1 'Fixed Single
Caption = "批量闪烁"
ClientHeight = 6315
ClientLeft = 45
ClientTop = 330
ClientWidth = 9960
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 6315
ScaleWidth = 9960
StartUpPosition = 2 'CenterScreen
Begin VB.Timer Timer1
Enabled = 0 'False
Left = 8025
Top = 5100
End
Begin VB.Frame Frame2
Height = 555
Left = 15
TabIndex = 2
Top = -105
Width = 9945
Begin VB.CommandButton btnBlink
Caption = "闪烁"
Enabled = 0 'False
Height = 360
Left = 5085
TabIndex = 17
Top = 150
Width = 930
End
Begin VB.CommandButton btnSelectCircle
Height = 360
Left = 7005
Picture = "frmMain.frx":0000
Style = 1 'Graphical
TabIndex = 16
ToolTipText = "圆形选择"
Top = 150
Width = 405
End
Begin VB.CommandButton btnSelectRect
Height = 360
Left = 6600
Picture = "frmMain.frx":0102
Style = 1 'Graphical
TabIndex = 15
ToolTipText = "矩形选择"
Top = 150
Width = 405
End
Begin VB.CommandButton btnZoomFree
Height = 360
Left = 8250
Picture = "frmMain.frx":0204
Style = 1 'Graphical
TabIndex = 14
ToolTipText = "自由缩放"
Top = 150
Width = 420
End
Begin VB.CommandButton btnviewEntire
Height = 360
Left = 9480
Picture = "frmMain.frx":0306
Style = 1 'Graphical
TabIndex = 13
Top = 150
Width = 420
End
Begin VB.CommandButton btnZoomIn
Height = 360
Left = 7410
Picture = "frmMain.frx":0408
Style = 1 'Graphical
TabIndex = 12
Top = 150
Width = 420
End
Begin VB.CommandButton btnZoomOut
Height = 360
Left = 7830
Picture = "frmMain.frx":050A
Style = 1 'Graphical
TabIndex = 11
Top = 150
Width = 420
End
Begin VB.CommandButton btnPan
Height = 360
Left = 8670
Picture = "frmMain.frx":060C
Style = 1 'Graphical
TabIndex = 10
Top = 150
Width = 405
End
Begin VB.CommandButton btnSelect
Height = 360
Left = 6195
Picture = "frmMain.frx":070E
Style = 1 'Graphical
TabIndex = 9
Top = 150
Width = 405
End
Begin VB.CommandButton btnRefresh
Height = 360
Left = 9075
Picture = "frmMain.frx":0810
Style = 1 'Graphical
TabIndex = 8
Top = 150
Width = 405
End
Begin VB.CommandButton btnClearTrack
Caption = "清除Track"
Height = 360
Left = 3225
TabIndex = 7
Top = 150
Width = 930
End
Begin VB.CommandButton btnOpenDataSource
Caption = "打开数据源"
Height = 360
Left = 60
TabIndex = 6
ToolTipText = "打开数据源"
Top = 150
Width = 1050
End
Begin VB.CommandButton btnClearLayers
Caption = "清除图层"
Enabled = 0 'False
Height = 360
Left = 4155
TabIndex = 5
ToolTipText = "清除地图窗口中所的图层"
Top = 150
Width = 930
End
Begin VB.CommandButton btnDelDataset
Caption = "删除数据集"
Enabled = 0 'False
Height = 360
Left = 1110
TabIndex = 4
ToolTipText = "删除""数据列表""中选择的数据集"
Top = 150
Width = 1050
End
Begin VB.CommandButton btnOpenDataset
Caption = "打开数据集"
Enabled = 0 'False
Height = 360
Left = 2160
TabIndex = 3
ToolTipText = "打开""数据列表""中选择的数据集"
Top = 150
Width = 1065
End
End
Begin SuperMapLib.SuperMap SuperMap1
Height = 5790
Left = 75
TabIndex = 0
Top = 495
Width = 7890
_Version = 196610
_ExtentX = 13917
_ExtentY = 10213
_StockProps = 160
Appearance = 1
End
Begin SuperMapLib.SuperWorkspace SuperWorkspace1
Left = 8940
Top = 5085
_Version = 196610
_ExtentX = 847
_ExtentY = 847
_StockProps = 0
End
Begin MSComDlg.CommonDialog cdl
Left = 8460
Top = 5100
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MSComctlLib.ImageList imgTreeView
Left = 9420
Top = 5055
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 11
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0912
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0A26
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0B3A
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0C4C
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0D5E
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0E70
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0F82
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1094
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":11A6
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":12B2
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":13C4
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.TreeView tvwWKS
Height = 4485
Left = 7965
TabIndex = 1
ToolTipText = "双击打开选择的数据集"
Top = 495
Width = 1965
_ExtentX = 3466
_ExtentY = 7911
_Version = 393217
HideSelection = 0 'False
LabelEdit = 1
Style = 7
ImageList = "imgTreeView"
Appearance = 1
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'=====================================SuperMap Objects示范工程说明=======================================
'
'功能简介:示范SuperMap Objects中如何闪烁一批对象。
'所用控件:SuperMap 控件、SuperWorkspace 控件
'所用数据:用户自己创建的数据(建议存放在当前目录下)
'操作说明:
' 1、点击"打开数据源",可以利用对话框打开一个数据源,打开的数据源列在工作空间中。
' 2、在"数据列表"中双击一个数据集,可以在地图窗口中打开它;或者选中后,点击"打开数据集"也可以打开它。
' 选中一个数据集,点击"删除数据集"可以从数据源中删除该数据集。
' 3、点击"清除图层"可以删除地图窗口中的所有图层。
' 4、使用"地图操作"中的按钮,可以对地图进行"放大"、"缩小"等操作。
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -