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

📄 dzdy_2.frm

📁 This is a test ModBus comm s pragam in "STB-311".
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            Caption         =   "8. 0.03"
            Height          =   180
            Index           =   7
            Left            =   120
            TabIndex        =   15
            Top             =   1950
            Width           =   630
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "7. 0.0025"
            Height          =   180
            Index           =   6
            Left            =   120
            TabIndex        =   14
            Top             =   1740
            Width           =   810
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "6. 0.001"
            Height          =   180
            Index           =   5
            Left            =   120
            TabIndex        =   13
            Top             =   1530
            Width           =   720
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "5. 0.01"
            Height          =   180
            Index           =   4
            Left            =   120
            TabIndex        =   12
            Top             =   1290
            Width           =   630
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "4. 0.3"
            Height          =   180
            Index           =   3
            Left            =   120
            TabIndex        =   11
            Top             =   1050
            Width           =   540
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "3. PT*CT/18000"
            Height          =   180
            Index           =   2
            Left            =   120
            TabIndex        =   10
            Top             =   810
            Width           =   1170
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "2. CT/400"
            Height          =   180
            Index           =   1
            Left            =   120
            TabIndex        =   9
            Top             =   570
            Width           =   810
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "1. PT/2000"
            Height          =   180
            Index           =   0
            Left            =   120
            TabIndex        =   8
            Top             =   300
            Width           =   900
         End
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid3 
         Height          =   7215
         Left            =   -74940
         TabIndex        =   6
         Top             =   390
         Width           =   4005
         _ExtentX        =   7064
         _ExtentY        =   12726
         _Version        =   393216
         Rows            =   32
         Cols            =   5
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid2 
         Height          =   7155
         Left            =   180
         TabIndex        =   5
         Top             =   450
         Width           =   5595
         _ExtentX        =   9869
         _ExtentY        =   12621
         _Version        =   393216
         Rows            =   60
         Cols            =   4
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin RichTextLib.RichTextBox RichTextBox2 
         Height          =   7125
         Left            =   180
         TabIndex        =   3
         Top             =   480
         Width           =   5535
         _ExtentX        =   9763
         _ExtentY        =   12568
         _Version        =   393217
         ScrollBars      =   3
         TextRTF         =   $"dzdy_2.frx":0054
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin RichTextLib.RichTextBox RichTextBox1 
         Height          =   7095
         Left            =   -74880
         TabIndex        =   2
         Top             =   480
         Width           =   3885
         _ExtentX        =   6853
         _ExtentY        =   12515
         _Version        =   393217
         ScrollBars      =   3
         TextRTF         =   $"dzdy_2.frx":00F1
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BeginProperty Font 
            Name            =   "楷体_GB2312"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   960
         Left            =   -73770
         TabIndex        =   22
         Top             =   510
         Width           =   510
      End
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   420
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   10350
      _ExtentX        =   18256
      _ExtentY        =   741
      ButtonWidth     =   609
      ButtonHeight    =   582
      Appearance      =   1
      ImageList       =   "ImageList1"
      DisabledImageList=   "ImageList1"
      HotImageList    =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   4
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "Save"
            Object.ToolTipText     =   "保存"
            ImageKey        =   "Save"
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "Grid"
            Object.ToolTipText     =   "列表"
            ImageKey        =   "Grid"
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "Text"
            Object.ToolTipText     =   "文本"
            ImageKey        =   "Text"
         EndProperty
      EndProperty
      Begin MSComctlLib.ImageList ImageList1 
         Left            =   4740
         Top             =   -60
         _ExtentX        =   1005
         _ExtentY        =   1005
         BackColor       =   -2147483643
         ImageWidth      =   16
         ImageHeight     =   16
         MaskColor       =   12632256
         _Version        =   393216
         BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
            NumListImages   =   3
            BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "dzdy_2.frx":018E
               Key             =   "Grid"
            EndProperty
            BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "dzdy_2.frx":02EA
               Key             =   "Text"
            EndProperty
            BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
               Picture         =   "dzdy_2.frx":0446
               Key             =   "Save"
            EndProperty
         EndProperty
      End
   End
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
      Height          =   8415
      Left            =   0
      TabIndex        =   24
      Top             =   420
      Width           =   4365
      _ExtentX        =   7699
      _ExtentY        =   14843
      _Version        =   393216
      Rows            =   33
      Cols            =   3
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Label Label7 
      AutoSize        =   -1  'True
      Caption         =   "类型名:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   4980
      TabIndex        =   38
      Top             =   630
      Width           =   840
   End
   Begin VB.Label Label5 
      BorderStyle     =   1  'Fixed Single
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   5940
      TabIndex        =   37
      Top             =   600
      Width           =   3465
   End
End
Attribute VB_Name = "dzdy"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Form_Load()
Dim i As Integer
'SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 1 Or 2 Or &H40
With MSFlexGrid1
.ColWidth(0) = 560
.ColWidth(1) = 2450
.ColWidth(2) = 850
.TextMatrix(0, 0) = "序号"
.TextMatrix(0, 1) = "名称"
.TextMatrix(0, 2) = "定值长"
For i = 1 To 32
 .TextMatrix(i, 0) = Str(i)
 .TextMatrix(i, 1) = Danyuan_Leixing(i).Name
 .TextMatrix(i, 2) = Danyuan_Leixing(i).Dz_Long
Next i
End With

 MSFlexGrid2.TextMatrix(0, 0) = "序号"
 MSFlexGrid2.TextMatrix(0, 1) = "名称"
 MSFlexGrid2.TextMatrix(0, 2) = "类型"
 MSFlexGrid2.TextMatrix(0, 3) = "系数"
 
 
 MSFlexGrid2.ColWidth(0) = 1000
 MSFlexGrid2.ColWidth(1) = 1800
 MSFlexGrid2.ColWidth(2) = 1000
 MSFlexGrid2.ColWidth(3) = 1000
 
 MSFlexGrid3.ColWidth(0) = 600
 MSFlexGrid3.ColWidth(1) = 700
 MSFlexGrid3.ColWidth(2) = 700
 MSFlexGrid3.ColWidth(3) = 600
 MSFlexGrid3.ColWidth(4) = 900
 MSFlexGrid3.TextMatrix(0, 0) = "序号"
 MSFlexGrid3.TextMatrix(0, 1) = "名称"
 MSFlexGrid3.TextMatrix(0, 2) = "类型"
 MSFlexGrid3.TextMatrix(0, 3) = "单位"
 MSFlexGrid3.TextMatrix(0, 4) = "系数"
 For i = 1 To 51
 
   MSFlexGrid2.TextMatrix(i, 0) = Str(i)
 Next i
 MSFlexGrid1.Row = 1
 With MSFlexGrid4
  .ColWidth(0) = 1000
  .ColWidth(1) = 2000
  .ColWidth(2) = 1000
  .ColWidth(3) = 1000
  
  .TextMatrix(0, 0) = "序号"
  For i = 1 To 16
   .TextMatrix(i, 0) = Str(i)
  Next i
   .TextMatrix(0, 1) = "名称"
   .TextMatrix(0, 2) = "声音"
   .TextMatrix(0, 3) = "使用"
  End With
  Text5.Text = Sound_Address
End Sub

⌨️ 快捷键说明

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