?? 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 + -