fssx.frm

来自「This is a test ModBus comm s pragam in "」· FRM 代码 · 共 73 行

FRM
73
字号
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form fssx 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "单元发送顺序"
   ClientHeight    =   5820
   ClientLeft      =   4020
   ClientTop       =   3765
   ClientWidth     =   5025
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5820
   ScaleWidth      =   5025
   ShowInTaskbar   =   0   'False
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
      Height          =   5805
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   4995
      _ExtentX        =   8811
      _ExtentY        =   10239
      _Version        =   393216
      Rows            =   34
      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
End
Attribute VB_Name = "fssx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
With MSFlexGrid1
 .ColWidth(0) = 1200
 .Row = 0
 For i = 1 To 3
 .Col = i
 .Text = "端口" + Format(i, "")
 Next i
 .Col = 0
 .Text = "顺序"
 For i = 1 To 32
    .Col = 0
    .Row = i
    .Text = Format(i, "")
    For J = 1 To 3
    .Col = J
     If DANYUAN_FSGS(J) > i - 1 Then .Text = DANYUAN_FSSX(J, i)
    
    Next J
 Next i
 
 .Row = 33
 .Col = 0
 .Text = "单元总数"
 For i = 1 To 3
 .Col = i
 .Text = DANYUAN_FSGS(i)
 Next i
End With
End Sub

⌨️ 快捷键说明

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