📄 frmcarinfo.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Object = "{4406B9AC-521E-476B-AF25-3D2C36110576}#3.0#0"; "CommandSCE.ocx"
Object = "{E95A2510-F3D1-416D-823B-4F840FE98091}#3.0#0"; "Command.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmCarInfo
BorderStyle = 3 'Fixed Dialog
Caption = "车辆信息维护"
ClientHeight = 7260
ClientLeft = 45
ClientTop = 435
ClientWidth = 9495
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 7260
ScaleWidth = 9495
ShowInTaskbar = 0 'False
Begin MSComctlLib.ListView lstInfo
Height = 3045
Left = 3570
TabIndex = 23
Top = 480
Width = 4245
_ExtentX = 7488
_ExtentY = 5371
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin MSComDlg.CommonDialog cdOpen
Left = 3660
Top = 780
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MSComctlLib.ListView lstCarInfo
Height = 4665
Left = 30
TabIndex = 21
Top = 2550
Width = 9405
_ExtentX = 16589
_ExtentY = 8229
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin VB.ComboBox cmbState
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 19
Top = 2160
Width = 2475
End
Begin MSComCtl2.DTPicker InDate
Height = 315
Left = 1020
TabIndex = 17
Top = 1800
Width = 2475
_ExtentX = 4366
_ExtentY = 556
_Version = 393216
Format = 25362432
CurrentDate = 38876
End
Begin CSCommandSCE.CommandSCE cmdOpen
Height = 300
Left = 3015
TabIndex = 15
Top = 1470
Width = 495
_ExtentX = 873
_ExtentY = 529
IconAlign = 0
Icon = "frmCarInfo.frx":0000
Caption = "……"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.TextBox txtCar
Appearance = 0 'Flat
Height = 300
Index = 4
Left = 1020
TabIndex = 13
Top = 1470
Width = 1995
End
Begin VB.PictureBox picCar
Height = 2295
Left = 4590
Picture = "frmCarInfo.frx":001C
ScaleHeight = 2235
ScaleWidth = 3135
TabIndex = 12
Top = 150
Width = 3195
End
Begin VB.TextBox txtCar
Appearance = 0 'Flat
Height = 300
Index = 3
Left = 1020
TabIndex = 10
Top = 1140
Width = 2475
End
Begin VB.TextBox txtCar
Appearance = 0 'Flat
Height = 300
Index = 2
Left = 1020
TabIndex = 4
Top = 810
Width = 2475
End
Begin VB.TextBox txtCar
Appearance = 0 'Flat
Height = 300
Index = 1
Left = 1020
TabIndex = 2
Top = 480
Width = 2475
End
Begin VB.TextBox txtCar
Appearance = 0 'Flat
Height = 300
Index = 0
Left = 1020
TabIndex = 0
Top = 150
Width = 2475
End
Begin CSCommand.Command cmdOK
Height = 375
Left = 7980
TabIndex = 6
Top = 210
Width = 1335
_ExtentX = 2355
_ExtentY = 661
Icon = "frmCarInfo.frx":05A6
Caption = "确定(&S)"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin CSCommand.Command cmdPhoto
Height = 375
Left = 7980
TabIndex = 7
Top = 660
Width = 1335
_ExtentX = 2355
_ExtentY = 661
Icon = "frmCarInfo.frx":0B40
Caption = "拍照(&T)"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin CSCommand.Command cmdPrint
Height = 375
Left = 7980
TabIndex = 8
Top = 1575
Width = 1335
_ExtentX = 2355
_ExtentY = 661
Icon = "frmCarInfo.frx":10DA
Caption = "打印(&P)"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin CSCommand.Command cmdBack
Height = 375
Left = 7980
TabIndex = 9
Top = 2040
Width = 1335
_ExtentX = 2355
_ExtentY = 661
Icon = "frmCarInfo.frx":1674
Caption = "返回(&B)"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin CSCommand.Command cmdQuery
Height = 375
Left = 7980
TabIndex = 22
Top = 1125
Width = 1335
_ExtentX = 2355
_ExtentY = 661
Icon = "frmCarInfo.frx":1C0E
Caption = "查询(&Q)"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "车辆照片:"
Height = 180
Index = 4
Left = 3630
TabIndex = 20
Top = 210
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "车辆状态:"
Height = 180
Index = 7
Left = 180
TabIndex = 18
Top = 2220
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "录入日期:"
Height = 180
Index = 6
Left = 180
TabIndex = 16
Top = 1860
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "车辆文件:"
Height = 180
Index = 5
Left = 180
TabIndex = 14
Top = 1530
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "车辆载重:"
Height = 180
Index = 3
Left = 180
TabIndex = 11
Top = 1200
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "车辆自重:"
Height = 180
Index = 2
Left = 180
TabIndex = 5
Top = 870
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "客户编码:"
Height = 180
Index = 1
Left = 180
TabIndex = 3
Top = 540
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "车辆编码:"
Height = 180
Index = 0
Left = 180
TabIndex = 1
Top = 210
Width = 900
End
End
Attribute VB_Name = "frmCarInfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim strCustName As String '客户名称
Dim iPic As Integer
Private Sub cmbState_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case vbKeyReturn
cmdOK.SetFocus
Case Else
Exit Sub
End Select
End Sub
Private Sub cmdBack_Click()
'返回
tBackMain Me
End Sub
Private Sub CommandSCE1_Click()
End Sub
Private Sub cmdOK_Click()
Dim iIndex As Integer
On Error GoTo ErrInfo
For iIndex = 0 To 3
If txtCar(iIndex).Text = "" Then
MsgBox "数据信息处理错误!", vbInformation, "提示:"
txtCar(Index).SetFocus
SendKeys "{Home}+{End}"
Exit Sub
End If
Next
Set uShareInfo.picInfo = picCar
With uShareInfo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -