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

📄 frmsymbology.frm

📁 AO的开发平台
💻 FRM
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "tabctl32.ocx"
Begin VB.Form frmProperties 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "属性设置"
   ClientHeight    =   5820
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7950
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5820
   ScaleWidth      =   7950
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton CommandApply 
      Caption         =   "应用"
      Height          =   300
      Left            =   6600
      TabIndex        =   3
      Top             =   5400
      Width           =   1095
   End
   Begin VB.CommandButton CommandCancel 
      Caption         =   "取消"
      Height          =   300
      Left            =   5280
      TabIndex        =   2
      Top             =   5400
      Width           =   1095
   End
   Begin VB.CommandButton CommandOK 
      Caption         =   "确定"
      Height          =   300
      Left            =   3960
      TabIndex        =   1
      Top             =   5400
      Width           =   1095
   End
   Begin TabDlg.SSTab SSTab1 
      Height          =   5055
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   9045
      _ExtentX        =   15954
      _ExtentY        =   8916
      _Version        =   393216
      Style           =   1
      Tabs            =   9
      Tab             =   1
      TabsPerRow      =   9
      TabHeight       =   520
      TabMaxWidth     =   3175
      TabCaption(0)   =   "常规"
      TabPicture(0)   =   "frmSymbology.frx":0000
      Tab(0).ControlEnabled=   0   'False
      Tab(0).Control(0)=   "Text_LayerName"
      Tab(0).Control(1)=   "Text_Description"
      Tab(0).Control(2)=   "Frame1"
      Tab(0).Control(3)=   "CheckVisible"
      Tab(0).Control(4)=   "Label2"
      Tab(0).Control(5)=   "Label1"
      Tab(0).ControlCount=   6
      TabCaption(1)   =   "数据源"
      TabPicture(1)   =   "frmSymbology.frx":001C
      Tab(1).ControlEnabled=   -1  'True
      Tab(1).Control(0)=   "Frame2"
      Tab(1).Control(0).Enabled=   0   'False
      Tab(1).Control(1)=   "Frame3"
      Tab(1).Control(1).Enabled=   0   'False
      Tab(1).ControlCount=   2
      TabCaption(2)   =   "选择"
      TabPicture(2)   =   "frmSymbology.frx":0038
      Tab(2).ControlEnabled=   0   'False
      Tab(2).ControlCount=   0
      TabCaption(3)   =   "显示"
      TabPicture(3)   =   "frmSymbology.frx":0054
      Tab(3).ControlEnabled=   0   'False
      Tab(3).ControlCount=   0
      TabCaption(4)   =   "特征"
      TabPicture(4)   =   "frmSymbology.frx":0070
      Tab(4).ControlEnabled=   0   'False
      Tab(4).ControlCount=   0
      TabCaption(5)   =   "字段"
      TabPicture(5)   =   "frmSymbology.frx":008C
      Tab(5).ControlEnabled=   0   'False
      Tab(5).ControlCount=   0
      TabCaption(6)   =   "定义查询"
      TabPicture(6)   =   "frmSymbology.frx":00A8
      Tab(6).ControlEnabled=   0   'False
      Tab(6).ControlCount=   0
      TabCaption(7)   =   "标注"
      TabPicture(7)   =   "frmSymbology.frx":00C4
      Tab(7).ControlEnabled=   0   'False
      Tab(7).ControlCount=   0
      TabCaption(8)   =   "连接&关连"
      TabPicture(8)   =   "frmSymbology.frx":00E0
      Tab(8).ControlEnabled=   0   'False
      Tab(8).ControlCount=   0
      Begin VB.Frame Frame3 
         Caption         =   "数据源"
         Height          =   2535
         Left            =   120
         TabIndex        =   23
         Top             =   2400
         Width           =   6735
         Begin VB.ListBox List1 
            Height          =   2205
            Left            =   120
            TabIndex        =   24
            Top             =   240
            Width           =   6495
         End
      End
      Begin VB.Frame Frame2 
         Caption         =   "数据范围"
         Height          =   1815
         Left            =   120
         TabIndex        =   18
         Top             =   480
         Width           =   6735
         Begin VB.Label Label10 
            Caption         =   "下:"
            Height          =   255
            Left            =   2160
            TabIndex        =   22
            Top             =   1320
            Width           =   2655
         End
         Begin VB.Label Label9 
            Caption         =   "右"
            Height          =   255
            Left            =   3960
            TabIndex        =   21
            Top             =   720
            Width           =   2655
         End
         Begin VB.Label Label8 
            Caption         =   "左:"
            Height          =   255
            Left            =   240
            TabIndex        =   20
            Top             =   720
            Width           =   2655
         End
         Begin VB.Label Label7 
            Caption         =   "上:"
            Height          =   255
            Left            =   2160
            TabIndex        =   19
            Top             =   240
            Width           =   2655
         End
      End
      Begin VB.TextBox Text_LayerName 
         Height          =   285
         Left            =   -73800
         TabIndex        =   9
         Top             =   600
         Width           =   3135
      End
      Begin VB.TextBox Text_Description 
         Height          =   1215
         Left            =   -73800
         TabIndex        =   8
         Top             =   1080
         Width           =   5055
      End
      Begin VB.Frame Frame1 
         Caption         =   "比例尺设置"
         Height          =   2415
         Left            =   -74880
         TabIndex        =   7
         Top             =   2520
         Width           =   6135
         Begin VB.TextBox Text_MaxScale 
            Height          =   375
            Left            =   1680
            TabIndex        =   15
            Top             =   1800
            Width           =   2175
         End
         Begin VB.TextBox Text_MinScale 
            Height          =   375
            Left            =   1680
            TabIndex        =   14
            Top             =   1200
            Width           =   2175
         End
         Begin VB.OptionButton Option_ScaleShowNo 
            Caption         =   "显示下列范围"
            Height          =   375
            Left            =   360
            TabIndex        =   11
            Top             =   720
            Width           =   3375
         End
         Begin VB.OptionButton Option_ScaleShow 
            Caption         =   "一直显示"
            Height          =   255
            Left            =   360
            TabIndex        =   10
            Top             =   360
            Value           =   -1  'True
            Width           =   3735
         End
         Begin VB.Label Label6 
            Caption         =   "最大比例"
            Height          =   375
            Left            =   4080
            TabIndex        =   17
            Top             =   1800
            Width           =   1455
         End
         Begin VB.Label Label5 
            Caption         =   "最小比例"
            Height          =   375
            Left            =   4080
            TabIndex        =   16
            Top             =   1200
            Width           =   1335
         End
         Begin VB.Label Label4 
            Caption         =   "范围内  1:"
            Height          =   255
            Left            =   720
            TabIndex        =   13
            Top             =   1920
            Width           =   975
         End
         Begin VB.Label Label3 
            Caption         =   "范围外  1:"
            Height          =   255
            Left            =   720
            TabIndex        =   12
            Top             =   1320
            Width           =   975
         End
      End
      Begin VB.CheckBox CheckVisible 
         Caption         =   "是否可见"
         Height          =   255
         Left            =   -70440
         TabIndex        =   6
         Top             =   600
         Value           =   1  'Checked
         Width           =   1095
      End
      Begin VB.Label Label2 
         Caption         =   "   描      述:"
         Height          =   255
         Left            =   -74880
         TabIndex        =   5
         Top             =   1080
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "   层      名:"
         Height          =   255
         Left            =   -74880
         TabIndex        =   4
         Top             =   720
         Width           =   1335
      End
   End
End
Attribute VB_Name = "frmProperties"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub CommandCancel_Click()
     Unload Me
End Sub

Private Sub CommandOK_Click()
     Unload Me
End Sub

Private Sub Form_Load()
     If m_pCurrentLayer.Valid = True Then
        Dim m_curLayerInfo As IMapLayerInfo
        'Set m_curLayerInfo = m_pCurrentLayer
        Text_LayerName.Text = m_pCurrentLayer.name
        If m_pCurrentLayer.Visible = True Then
           CheckVisible.Value = 1
        Else
           CheckVisible.Value = 0
        End If
        Text_MaxScale.Text = CStr(m_pCurrentLayer.MaximumScale)
        Text_MinScale.Text = CStr(m_pCurrentLayer.MinimumScale)
        'Text_Description.Text = m_pCurrentLayer.
     Else
        Unload Me
     End If
     
     If m_pCurrentLayer.MinimumScale <> 0 Or m_pCurrentLayer.MaximumScale <> 0 Then
        'Option_ScaleShow.Value = False
        'Option_ScaleShowNo.Value = True
        Text_MinScale.Enabled = True
        Text_MaxScale.Enabled = True
        Text_MinScale.Text = CStr(m_pCurrentLayer.MinimumScale)
        Text_MaxScale.Text = CStr(m_pCurrentLayer.MaximumScale)
     Else
        'Option_ScaleShow.Value = True
        'Option_ScaleShowNo.Value = False
        Text_MinScale.Enabled = False
        Text_MaxScale.Enabled = False
     End If
     
End Sub

Private Sub Option_ScaleShow_Click()
        Text_MinScale.Enabled = False
        Text_MaxScale.Enabled = False
End Sub

Private Sub Option_ScaleShowNo_Click()
        Text_MinScale.Enabled = True
        Text_MaxScale.Enabled = True
End Sub

⌨️ 快捷键说明

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