📄 frmtest.frm
字号:
Height = 180
Index = 6
Left = 300
TabIndex = 64
Top = 180
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "自编号:"
Height = 180
Index = 7
Left = 3105
TabIndex = 63
Top = 225
Width = 630
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "井 号"
Height = 180
Index = 0
Left = 360
TabIndex = 60
Top = 900
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "测压类别"
Height = 180
Index = 1
Left = 1725
TabIndex = 59
Top = 900
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "仪器类别"
Height = 180
Index = 2
Left = 2775
TabIndex = 58
Top = 900
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "仪器号(自动测试仪)"
Height = 180
Index = 3
Left = 3720
TabIndex = 57
Top = 900
Width = 1620
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "测 量 人:"
Height = 180
Index = 19
Left = 1725
TabIndex = 56
Top = 4035
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "审 核 人:"
Height = 180
Index = 20
Left = 3060
TabIndex = 55
Top = 4035
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "解 释 人:"
Height = 180
Index = 21
Left = 4365
TabIndex = 54
Top = 4035
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "解释日期:"
Height = 180
Index = 22
Left = 5670
TabIndex = 53
Top = 4035
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "测试单位:"
Height = 180
Index = 18
Left = 420
TabIndex = 52
Top = 4035
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "产液量(t/d)"
Height = 180
Index = 9
Left = 547
TabIndex = 46
Top = 2670
Width = 990
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "含水%"
Height = 180
Index = 10
Left = 2167
TabIndex = 45
Top = 2670
Width = 540
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "冲程(m)"
Height = 180
Index = 11
Left = 3607
TabIndex = 44
Top = 2670
Width = 630
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "冲次(次/分)"
Height = 180
Index = 12
Left = 4867
TabIndex = 43
Top = 2670
Width = 990
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "泵深(m)"
Height = 180
Index = 13
Left = 727
TabIndex = 42
Top = 3210
Width = 630
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "泵径(mm)"
Height = 180
Index = 14
Left = 2077
TabIndex = 41
Top = 3210
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "时标(s)"
Height = 180
Index = 16
Left = 5047
TabIndex = 40
Top = 3210
Width = 630
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "备 注:"
Height = 180
Index = 17
Left = 300
TabIndex = 39
Top = 3765
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "饱和压力(Mpa)"
Height = 180
Index = 15
Left = 3337
TabIndex = 38
Top = 3210
Width = 1170
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "项 目"
Height = 180
Index = 0
Left = 300
TabIndex = 28
Top = 1530
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "开 井"
Height = 180
Index = 1
Left = 1335
TabIndex = 27
Top = 1530
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "测动液面"
Height = 180
Index = 2
Left = 2355
TabIndex = 26
Top = 1530
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "关 井"
Height = 180
Index = 3
Left = 3330
TabIndex = 25
Top = 1530
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "测试完毕"
Height = 180
Index = 4
Left = 4305
TabIndex = 24
Top = 1530
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "起 抽"
Height = 180
Index = 5
Left = 5280
TabIndex = 23
Top = 1530
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "时间(h:min)"
Height = 180
Index = 6
Left = 300
TabIndex = 22
Top = 1875
Width = 990
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "油 压"
Height = 180
Index = 7
Left = 300
TabIndex = 21
Top = 2130
Width = 810
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "套 压"
Height = 180
Index = 8
Left = 300
TabIndex = 20
Top = 2385
Width = 810
End
End
End
Attribute VB_Name = "frmtest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Function setMsflex()
Dim i As Integer
MSFlexGrid1.MergeCells = flexMergeRestrictRows
MSFlexGrid1.MergeRow(0) = True
MSFlexGrid1.MergeCol(0) = True
MSFlexGrid1.MergeCol(1) = True
MSFlexGrid1.TextMatrix(1, 0) = "序号"
MSFlexGrid1.TextMatrix(0, 0) = "序号"
MSFlexGrid1.TextMatrix(0, 1) = "采样时间"
MSFlexGrid1.TextMatrix(1, 1) = "采样时间"
'
MSFlexGrid1.TextMatrix(0, 2) = Space(12) & "第一组"
MSFlexGrid1.TextMatrix(0, 3) = Space(12) & "第一组"
MSFlexGrid1.TextMatrix(0, 4) = Space(12) & "第一组"
MSFlexGrid1.TextMatrix(0, 5) = Space(12) & "第二组"
MSFlexGrid1.TextMatrix(0, 6) = Space(12) & "第二组"
MSFlexGrid1.TextMatrix(0, 7) = Space(12) & "第二组"
MSFlexGrid1.TextMatrix(0, 8) = Space(12) & "第三组"
MSFlexGrid1.TextMatrix(0, 9) = Space(12) & "第三组"
MSFlexGrid1.TextMatrix(0, 10) = Space(12) & "第三组"
MSFlexGrid1.TextMatrix(1, 2) = "标准流量"
MSFlexGrid1.TextMatrix(1, 3) = "采样值"
MSFlexGrid1.TextMatrix(1, 4) = "实测流量"
MSFlexGrid1.TextMatrix(1, 5) = "标准流量"
MSFlexGrid1.TextMatrix(1, 6) = "采样值"
MSFlexGrid1.TextMatrix(1, 7) = "实测流量"
MSFlexGrid1.TextMatrix(1, 8) = "标准流量"
MSFlexGrid1.TextMatrix(1, 9) = "采样值"
MSFlexGrid1.TextMatrix(1, 10) = "实测流量"
MSFlexGrid1.ColWidth(0) = 400
For i = 2 To MSFlexGrid1.Rows - 1
MSFlexGrid1.TextMatrix(i, 0) = i - 1
MSFlexGrid1.TextMatrix(i, 1) = 2
Next
End Function
Private Sub Form_Load()
setMsflex
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -