📄 frmpickgoods.frm
字号:
VERSION 5.00
Begin VB.Form frmPickGoods
BorderStyle = 1 'Fixed Single
Caption = "放入领料篮"
ClientHeight = 2325
ClientLeft = 45
ClientTop = 330
ClientWidth = 3975
Icon = "frmPickGoods.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2325
ScaleWidth = 3975
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox txtGoods
BackColor = &H00FFC0C0&
Height = 330
Left = 1200
Locked = -1 'True
TabIndex = 5
Top = 240
Width = 2535
End
Begin VB.TextBox txtNum
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 1560
TabIndex = 0
Top = 960
Width = 1695
End
Begin VB.CommandButton cmdCancel
Caption = "取消(&C)"
Height = 375
Left = 2160
TabIndex = 2
Top = 1680
Width = 1095
End
Begin VB.CommandButton cmdOK
Caption = "确定(&O)"
Height = 375
Left = 720
TabIndex = 1
Top = 1680
Width = 1095
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "商品名称:"
Height = 180
Left = 240
TabIndex = 4
Top = 360
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "申领数量:"
Height = 180
Left = 480
TabIndex = 3
Top = 1080
Width = 900
End
End
Attribute VB_Name = "frmPickGoods"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
Dim i As Integer
For i = 1 To frm_Main.mshfView3.Rows - 1
If Trim(frm_Main.mshfView3.TextMatrix(i, 1)) = "" Then
frm_Main.mshfView3.TextMatrix(i, 0) = i
frm_Main.mshfView3.TextMatrix(i, 1) = frm_Main.mshfView.TextMatrix(frm_Main.mshfView.RowSel, 1)
frm_Main.mshfView3.TextMatrix(i, 2) = frm_Main.mshfView.TextMatrix(frm_Main.mshfView.RowSel, 3)
frm_Main.mshfView3.TextMatrix(i, 3) = frm_Main.mshfView.TextMatrix(frm_Main.mshfView.RowSel, 4)
frm_Main.mshfView3.TextMatrix(i, 4) = Trim(Me.txtNum)
frm_Main.lblNum = i
Exit For
End If
Next i
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -