📄 frmlookxs.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmlookxs
BorderStyle = 3 'Fixed Dialog
Caption = "详细情况"
ClientHeight = 1920
ClientLeft = 45
ClientTop = 435
ClientWidth = 7725
Icon = "frmlookxs.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1920
ScaleWidth = 7725
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin MSComCtl2.DTPicker dt
Height = 255
Left = 2880
TabIndex = 18
Top = 240
Width = 1335
_ExtentX = 2355
_ExtentY = 450
_Version = 393216
Format = 70189057
CurrentDate = 38985
End
Begin VB.TextBox txt
Height = 270
Index = 6
Left = 1800
TabIndex = 17
Top = 1560
Width = 855
End
Begin VB.TextBox txt
Height = 270
Index = 2
Left = 3720
TabIndex = 8
Top = 600
Width = 1215
End
Begin VB.ComboBox cmbleibie
Height = 300
Left = 6120
TabIndex = 7
Top = 600
Width = 1455
End
Begin VB.TextBox txt
Height = 270
Index = 1
Left = 1200
TabIndex = 6
Top = 600
Width = 1455
End
Begin VB.TextBox txt
Height = 270
Index = 4
Left = 3720
TabIndex = 5
Top = 1080
Width = 1215
End
Begin VB.TextBox txt
Height = 270
Index = 3
Left = 1200
TabIndex = 4
Top = 1080
Width = 1455
End
Begin VB.TextBox txt
Height = 270
Index = 5
Left = 6120
TabIndex = 3
Top = 1080
Width = 615
End
Begin VB.ComboBox cmbdanwei
Height = 300
Left = 6840
TabIndex = 2
Top = 1080
Width = 735
End
Begin VB.TextBox txt
Height = 270
Index = 0
Left = 1080
TabIndex = 1
Top = 240
Width = 495
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "货品名:"
Height = 180
Left = 3000
TabIndex = 16
Top = 600
Width = 630
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "货品类别:"
Height = 180
Left = 5280
TabIndex = 15
Top = 600
Width = 810
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "货品编号:"
Height = 180
Left = 240
TabIndex = 14
Top = 600
Width = 810
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "销售单价:"
Height = 180
Left = 2880
TabIndex = 13
Top = 1080
Width = 810
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "成本单价:"
Height = 180
Left = 240
TabIndex = 12
Top = 1080
Width = 810
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "销售量:"
Height = 180
Left = 5400
TabIndex = 11
Top = 1080
Width = 630
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "该种货品所得利润:"
Height = 180
Left = 240
TabIndex = 10
Top = 1560
Width = 1530
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "销售时间:"
Height = 180
Left = 2040
TabIndex = 9
Top = 240
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "销售序号:"
Height = 180
Left = 240
TabIndex = 0
Top = 240
Width = 810
End
End
Attribute VB_Name = "frmlookxs"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdclose_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim i As Integer
Dim s As Integer
i = frmxsjl.Grid1.Row
txt(0).Text = frmxsjl.Grid1.TextMatrix(i, 0)
dt.Value = frmxsjl.Grid1.TextMatrix(i, 1)
txt(1).Text = frmxsjl.Grid1.TextMatrix(i, 2)
txt(2).Text = frmxsjl.Grid1.TextMatrix(i, 3)
txt(3).Text = frmxsjl.Grid1.TextMatrix(i, 7)
txt(4).Text = frmxsjl.Grid1.TextMatrix(i, 8)
txt(5).Text = frmxsjl.Grid1.TextMatrix(i, 5)
txt(6).Text = frmxsjl.Grid1.TextMatrix(i, 9)
cmbleibie.Text = frmxsjl.Grid1.TextMatrix(i, 4)
cmbdanwei.Text = frmxsjl.Grid1.TextMatrix(i, 6)
For s = 0 To 6
txt(s).Enabled = False
Next s
dt.Enabled = False
cmbdanwei.Enabled = False
cmbleibie.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -